You are here

public function Github_HttpClient::post in Bibliography Module 7.2

Send a POST request

Parameters

string $path Request path:

array $parameters POST Parameters:

string $httpMethod HTTP method to use:

array $options reconfigure the request for this call only:

Return value

array Data

Overrides Github_HttpClientInterface::post

File

modules/CiteProc/Github/HttpClient.php, line 75

Class

Github_HttpClient
Performs requests on GitHub API. API documentation should be self-explanatory.

Code

public function post($path, array $parameters = array(), array $options = array()) {
  return $this
    ->request($path, $parameters, 'POST', $options);
}