exfacebook v0.1.1 Exfacebook.Http

Http requests using hackney and decode response using HTTPoison to JSON.

Summary

Functions

Make get request and return JSON response as dictionary

Types

error()
error() :: {:error, Exfacebook.Error.t}
success()
success() :: {:ok, Map.t}

Functions

delete(url)
delete(String) :: success | error
get(url)
get(String) :: success | error

Make get request and return JSON response as dictionary.

post(url, body \\ nil)
post(String, Map.t) :: success | error