Versions in this module Expand all Collapse all v1 v1.1.2 Aug 28, 2019 v1.1.0 May 21, 2019 Changes in this version + func ToString(data interface{}, dVal string) string + type HttpMethod int + const DELETE + const GET + const PATCH + const POST + const PUT + func (method HttpMethod) ToString() string + type Request struct + func Delete(url string, headers map[string]interface{}, body interface{}) *Request + func DeleteWithAuth(url string, headers map[string]interface{}, body interface{}, username string, ...) *Request + func Get(url string, headers map[string]interface{}) *Request + func GetWithAuth(url string, headers map[string]interface{}, username string, password string) *Request + func NewRequest(method HttpMethod, url string, headers map[string]interface{}, ...) *Request + func Patch(url string, headers map[string]interface{}, body interface{}) *Request + func PatchWithAuth(url string, headers map[string]interface{}, body interface{}, username string, ...) *Request + func Post(url string, headers map[string]interface{}, body interface{}) *Request + func PostWithAuth(url string, headers map[string]interface{}, body interface{}, username string, ...) *Request + func Put(url string, headers map[string]interface{}, body interface{}) *Request + func PutWithAuth(url string, headers map[string]interface{}, body interface{}, username string, ...) *Request + func (me *Request) PerformRequest(skipVerify bool) (*http.Response, error) + type Response struct + Body string + Code int + Headers map[string][]string + RawBody []byte + func AsBinary(request *Request, skipVerify bool) (*Response, error) + func AsString(request *Request, skipVerify bool) (*Response, error) + func NewBinaryResponse(resp *http.Response) (*Response, error) + func NewStringResponse(resp *http.Response) (*Response, error)