HttpRequestService::setParameters PHP Method

setParameters() public method

Set Parameters to be send on the request It can be both a key/value par array (as in array("key"=>"value")) or a string containing the body of the request, like a XML, JSON or other Proper content-type should be set for the body if not a array
public setParameters ( $params )
$params mixed
    public function setParameters($params)
    {
        $this->postFields = $params;
    }