code: func request(client *http.Client, method, url string, body []byte) ([]byte, error) {
  	req, err := http.NewRequest(method, url, bytes.NewBuffer(body))
  	req.Header.Set("Content-Type", "application/json")
  	resp, err := client.Do(req)
  	if err != nil {
  		return nil, err
  	}
  	defer resp.Body.Close()
  	return processResponse(resp)
  }
docs: // change timeout to time.Duration