public function Github_Client::post in Bibliography Module 7.2
Call any path, POST method Ex: $api->post('repos/show/my-username', array('email' => 'my-new-email@provider.org'))
Parameters
string $path the GitHub path:
array $parameters POST parameters:
array $requestOptions reconfigure the request:
Return value
array data returned
File
- modules/
CiteProc/ Github/ Client.php, line 116
Class
- Github_Client
- Simple yet very cool PHP Github client
Code
public function post($path, array $parameters = array(), $requestOptions = array()) {
return $this
->getHttpClient()
->post($path, $parameters, $requestOptions);
}