{go:header}
Provides HTTP utilities. Currently it offers a fast and easy-to-use HTTP client.
go get github.com/aerogo/http/client
response, err := client.Get("https://example.com").End()
client.Post("https://example.com/user/1").End()
client.Put("https://example.com/user/1").End()
client.Delete("https://example.com/user/1").End()
response, err := client.Get("https://example.com").Header("Accept", "text/html").End()
response.Bytes()
response.String()
response.StatusCode()
response.Unmarshal(&obj)
response.Raw()
response.RawString()
response.RawLength()
{go:footer}