elixtagram v0.3.0 Elixtagram.API.Base

Provides general request making and handling functionality (for internal use).

Summary

Functions

General HTTP DELETE request function. Takes a url part and optionally a token and list of params

General HTTP GET request function. Takes a url part and optionally a token and list of params

General HTTP POST request function. Takes a url part, and optionally a token, data Map and list of params

Functions

delete(url_part, token, params \\ [])

General HTTP DELETE request function. Takes a url part and optionally a token and list of params.

get(url_part, token, params \\ [])

General HTTP GET request function. Takes a url part and optionally a token and list of params.

post(url_part, token \\ :global, data \\ "", params \\ [])

General HTTP POST request function. Takes a url part, and optionally a token, data Map and list of params.