LeKoala\SparkPost\Api\SparkPostApiClient::makeRequest
Make a request to the api using curl
Signature
protected function makeRequest(string
$endpoint,
[string
$action = NULL,
[array
$data = NULL]] )
Parameters
$endpoint
— string$action
— string$data
— array
Returns
- array