Skip to content

Tychron/pepper_http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pepper.HTTP

An HTTP Client library built around Mint, includes handy utilities for making JSON, CSV, Text and Form requests.

Quick Usage

{:ok, resp} = Pepper.HTTP.Client.request(method, url, headers, body, options)

{:ok, resp} = Pepper.HTTP.Client.request(:get, "https://example.com", [{"user-agent", "pepper-http/0.6.0"}], nil, [])

resp.status_code # => 200
resp.headers # => [{"content-type", "text/plain"}, {"content-length", "12"}]
resp.body # => "Hello, World"

Documentation

About

HTTP Client based on mint

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages