func (hhc *Client) Put(url string, body io.Reader, headers http.Header) (*http.Response, error) {
	var response *http.Response
	request, err := http.NewRequest(http.MethodPut, url, body)
	if err != nil {
		return response, errors.Wrap(err, "PUT - request creation failed")
	}

	request.Header = headers

	return hhc.Do(request)
}
// Put makes a HTTP PUT request to provided URL and requestBody
Put makes a HTTP PUT request to provided URL and requestBody
// Put makes a HTTP PUT request to provided URL and requestBody
func (hhc *Client) Put(url string, body io.Reader, headers http.Header) (*http.Response, error) {
	var response *http.Response
	request, err := http.NewRequest(http.MethodPut, url, body)
	if err != nil {
		return response, errors.Wrap(err, "PUT - request creation failed")
	}
	request.Header = headers
	return hhc.Do(request)
}
func ( hhc * Client ) Put ( url string , body io . Reader , headers http . Header ) ( * http . Response , error ) { var response * http . Response request , err := http . NewRequest ( http . MethodPut , url , body ) if err != nil { return response , errors . Wrap ( err , " " ) } request . Header = headers return hhc . Do ( request ) }
Put makes a HTTP PUT request to provided URL and requestBody
Put makes a HTTP PUT request to provided URL and requestBody