exfacebook v0.0.5 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, Exfacebook.Error.t}
success :: {:ok, Map.t}

Functions

delete(url)

Specs

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

Specs

get(String) :: success | error

Make get request and return JSON response as dictionary.

post(url, data \\ [])

Specs

post(String, Map.t) :: success | error