You are here

public function SendinblueHttpClient::get in SendinBlue 7.2

Get 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 160

Class

SendinblueHttpClient
Sendinblue REST client.

Code

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