fkooman\OAuth\Client\Guzzle6Client::post PHP Method

post() public method

public post ( $url )
    public function post($url)
    {
        $response = $this->client->post($url, array('form_params' => $this->postFields, 'auth' => array($this->basicUser, $this->basicPass), 'headers' => $this->headers));
        $responseStream = $response->getBody();
        return json_decode($responseStream, true);
    }