original_string: public function post($path, array $parameters, $authorization = false)
      {
      	$query = [];
  
      	if ($authorization)
      	    $query = [
      	        'client_id' => $this->client_key,
      	    	'client_secret' => $this->client_secret,
      	    	'redirect_uri' => $this->redirect_uri,			 
      	    	'grant_type' => 'authorization_code',
      	    ];
  
      	if ($parameters)
              $query = array_merge($query, $parameters);
  
          try {
      	    $response = $this->client->request('POST', $path, [
      	        'form_params' => $query,
  		        'timeout' => self::TIMEOUT
      	    ]);
  
              return $this->toArray($response);
      	} 
      	catch (ClientException $e) {
      	    return $this->toArray($e->getResponse());
          }    	
      }
code: public function post($path, array $parameters, $authorization = false)
      {
      	$query = [];
  
      	if ($authorization)
      	    $query = [
      	        'client_id' => $this->client_key,
      	    	'client_secret' => $this->client_secret,
      	    	'redirect_uri' => $this->redirect_uri,			 
      	    	'grant_type' => 'authorization_code',
      	    ];
  
      	if ($parameters)
              $query = array_merge($query, $parameters);
  
          try {
      	    $response = $this->client->request('POST', $path, [
      	        'form_params' => $query,
  		        'timeout' => self::TIMEOUT
      	    ]);
  
              return $this->toArray($response);
      	} 
      	catch (ClientException $e) {
      	    return $this->toArray($e->getResponse());
          }    	
      }
code_tokens: public function post ( $ path , array $ parameters , $ authorization = false ) { $ query = [ ] ; if ( $ authorization ) $ query = [ 'client_id' => $ this -> client_key , 'client_secret' => $ this -> client_secret , 'redirect_uri' => $ this -> redirect_uri , 'grant_type' => 'authorization_code' , ] ; if ( $ parameters ) $ query = array_merge ( $ query , $ parameters ) ; try { $ response = $ this -> client -> request ( 'POST' , $ path , [ 'form_params' => $ query , 'timeout' => self :: TIMEOUT ] ) ; return $ this -> toArray ( $ response ) ; } catch ( ClientException $ e ) { return $ this -> toArray ( $ e -> getResponse ( ) ) ; } }
docstring: Make POST calls to the API
  
  @param  string  $path
  @param  boolean $authorization [Use access token query params]
  @param  array   $parameters    [Optional query parameters]
  @return Array
docstring_tokens: Make POST calls to the API