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