Ria.Request - simple request library
alias Ria.Request
# ...
# returns decoded value or nil
Request.json(url) #get
Request.json(url, headers) #get
Request.json(url, body) #post
Request.json(url, body, headers) #post
# returns bitstring or empty bitstring
Request.html(url) #get
Request.html(url, body) #post
Request.to_query(%{x: 1, y: 2})
def deps do
[{:ria_request, git: "https://github.com/ria-com/elixir-request.git"}]
end
[elixir-request]# mix test