README ¶ http Provides HTTP utilities. Currently it offers a fast and easy-to-use HTTP client. Installation go get github.com/aerogo/http/client Request Basic GET request response, err := client.Get("https://example.com").End() Basic POST request response, err := client.Post("https://example.com").End() Sending request headers response, err := client.Get("https://example.com").Header("Accept", "text/html").End() Response Status code response.StatusCode() Response body as a string response.String() Response body as bytes response.Bytes() Deserialize response body into an object (JSON) response.Unmarshal(&obj) Response body as a string without unzipping gzip contents response.RawString() Response body as bytes without unzipping gzip contents response.RawBytes() Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files http.go Directories ¶ Show internal Expand all Path Synopsis ciphers client convert Click to show internal directories. Click to hide internal directories.