You are here

public function SendinblueMailin::post in SendinBlue 7

Post Request of API.

Parameters

string $resource: A request action.

string $input: A data of curl request.

Return value

array A respond data.

4 calls to SendinblueMailin::post()
SendinblueMailin::createUpdateUser in includes/sendinblue.mailin.php
Create and update user.
SendinblueMailin::deleteToken in includes/sendinblue.mailin.php
Delete access token.
SendinblueMailin::displayListUsers in includes/sendinblue.mailin.php
Display all users of list.
SendinblueMailin::sendEmail in includes/sendinblue.mailin.php
Send email via sendinblue.

File

includes/sendinblue.mailin.php, line 152
Rest class file.

Class

SendinblueMailin
Sendinblue REST client.

Code

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