@@ -18,6 +18,9 @@ |
||
18 | 18 | protected static $headers = []; |
19 | 19 | protected static $last_info = null; |
20 | 20 | |
21 | + /** |
|
22 | + * @param string $method |
|
23 | + */ |
|
21 | 24 | protected static function request($method, $url, $data=[], array $headers=[], $data_as_json=false, $username=null, $password = null){ |
22 | 25 | $http_method = strtoupper($method); |
23 | 26 | $ch = curl_init($url); |