View Source CookieJar.HTTPoison (cookie_jar v1.1.0)

Use this module instead of HTTPoison, use jar as the first argument in all function calls, i.e. [:get, :get!, :head, :head!, :options, :options!, :delete, :delete!, :post, :post!, :put, :put!, :patch, :patch!]

Summary

Functions

delete(jar, url, headers \\ [], options \\ [])

delete!(jar, url, headers \\ [], options \\ [])

get(jar, url, headers \\ [], options \\ [])

get!(jar, url, headers \\ [], options \\ [])

head(jar, url, headers \\ [], options \\ [])

head!(jar, url, headers \\ [], options \\ [])

options(jar, url, headers \\ [], options \\ [])

options!(jar, url, headers \\ [], options \\ [])

patch(jar, url, body, headers \\ [], options \\ [])

patch!(jar, url, body, headers \\ [], options \\ [])

post(jar, url, body, headers \\ [], options \\ [])

post!(jar, url, body, headers \\ [], options \\ [])

put(jar, url, body, headers \\ [], options \\ [])

put!(jar, url, body, headers \\ [], options \\ [])