Ctct\Util\RestClient::httpRequest
Make an Http request
Signature
Parameters
$url
— object- request url
$method
—$headers
— array- - array of all http headers to send
$data
— object- data to send with the request
Returns
- CurlResponse
Errors/Exceptions
-
CTCTException
- - if any errors are contained in the returned payload