You are here

public function SendinblueHttpClient::get in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Tools/Http/SendinblueHttpClient.php \Drupal\sendinblue\Tools\Http\SendinblueHttpClient::get()

Get Request of API.

Parameters

string $resource: A request action.

string $input: A data of curl request.

Return value

array A respond data.

File

src/Tools/Http/SendinblueHttpClient.php, line 176

Class

SendinblueHttpClient
Sendinblue REST client.

Namespace

Drupal\sendinblue\Tools\Http

Code

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