public static function post($url, $dataArray, $httpHeaders = array())
    {
        self::prepareRequest($httpHeaders, $dataArray);

        $response = CurlRequest::post($url, self::$postDataJSON, self::$httpHeaders);

        return self::processResponse($response);
    }
public static function post($url, $dataArray, $httpHeaders = array())
    {
        self::prepareRequest($httpHeaders, $dataArray);

        $response = CurlRequest::post($url, self::$postDataJSON, self::$httpHeaders);

        return self::processResponse($response);
    }
public static function post ( $ url , $ dataArray , $ httpHeaders = array ( ) ) { self :: prepareRequest ( $ httpHeaders , $ dataArray ) ; $ response = CurlRequest :: post ( $ url , self :: $ postDataJSON , self :: $ httpHeaders ) ; return self :: processResponse ( $ response ) ; }
Implement a POST request and return json decoded output

@param string $url
@param array $dataArray
@param array $httpHeaders

@return string
Implement a POST request and return json decoded output