You are here

public function SendinblueHttpClient::post in SendinBlue 7.2

Post Request of API.

Parameters

string $resource: A request action.

string $input: A data of curl request.

Return value

array A respond data.

File

includes/Http/SendinblueHttpClient.php, line 190

Class

SendinblueHttpClient
Sendinblue REST client.

Code

public function post($resource, $input) {
  return $this
    ->doRequest($resource, 'POST', $input);
}