public static function post($url) { $curl = new self(); $curl->method = "POST"; $curl->url = $url; $curl->hdr(CURLOPT_POST, true); return $curl; }