@@ -90,14 +90,14 @@ |
||
| 90 | 90 | { |
| 91 | 91 | $curl = curl_init(); |
| 92 | 92 | curl_setopt_array($curl, array( |
| 93 | - CURLOPT_URL => "$api", |
|
| 94 | - CURLOPT_RETURNTRANSFER => true, |
|
| 95 | - CURLOPT_TIMEOUT => 30, |
|
| 96 | - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, |
|
| 97 | - CURLOPT_CUSTOMREQUEST => "GET", |
|
| 98 | - CURLOPT_HTTPHEADER => array( |
|
| 93 | + CURLOPT_URL => "$api", |
|
| 94 | + CURLOPT_RETURNTRANSFER => true, |
|
| 95 | + CURLOPT_TIMEOUT => 30, |
|
| 96 | + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, |
|
| 97 | + CURLOPT_CUSTOMREQUEST => "GET", |
|
| 98 | + CURLOPT_HTTPHEADER => array( |
|
| 99 | 99 | "cache-control: no-cache" |
| 100 | - ), |
|
| 100 | + ), |
|
| 101 | 101 | )); |
| 102 | 102 | |
| 103 | 103 | $response = curl_exec($curl); |