Execute the request against a CS API. Will return the raw JSON data returned by the API and nil if no error occurred. If the API returns an error the result will be nil and the HTTP error code and CS error details. If a processing (code) error occurs the result will be nil and the generated error
(api string, params url.Values)
| 527 | // no error occurred. If the API returns an error the result will be nil and the HTTP error code and CS |
| 528 | // error details. If a processing (code) error occurs the result will be nil and the generated error |
| 529 | func (cs *CloudStackClient) newRequest(api string, params url.Values) (json.RawMessage, error) { |
| 530 | return cs.newRawRequest(api, false, params) |
| 531 | } |
| 532 | |
| 533 | // Execute the request against a CS API using POST. Will return the raw JSON data returned by the API and |
| 534 | // nil if no error occurred. If the API returns an error the result will be nil and the HTTP error code |
no test coverage detected