protected function initPostRequest($entity, $uri)
    {
        return $this->isJsonOnly($entity)
            ? $this->getPostJsonRequest($uri)
            : $this->getPostRequest($uri);
    }
protected function initPostRequest($entity, $uri)
    {
        return $this->isJsonOnly($entity)
            ? $this->getPostJsonRequest($uri)
            : $this->getPostRequest($uri);
    }
protected function initPostRequest ( $ entity , $ uri ) { return $ this -> isJsonOnly ( $ entity ) ? $ this -> getPostJsonRequest ( $ uri ) : $ this -> getPostRequest ( $ uri ) ; }
Returns post request, depends on configuration and entity rule "jsonOnly"
@param IPPIntuitEntity $entity
@param string $uri
@return RequestParameters
Returns post request depends on configuration and entity rule jsonOnly