catalyst v0.1.0 Catalyst.Http View Source
Wrappers around erlangs :httpc for conveniences
Link to this section Summary
Functions
Makes an http requst, allows to pass headers
Makes an http requst, allows to pass headers, content_type and body
Link to this section Functions
Makes an http requst, allows to pass headers
Examples
iex> Catalyst.Http.http_request :get, 'http://example.com'
{{'HTTP/1.1', 200, 'Ok'}, 'body'}