@@ 146-149 (lines=4) @@ | ||
143 | case 'DELETE': |
|
144 | curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE"); |
|
145 | break; |
|
146 | case 'DELETEARRAY': |
|
147 | curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE"); |
|
148 | curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query)); |
|
149 | break; |
|
150 | case 'PUT': |
|
151 | curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT"); |
|
152 | break; |
|
@@ 241-244 (lines=4) @@ | ||
238 | case 'DELETE': |
|
239 | curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE"); |
|
240 | break; |
|
241 | case 'DELETEARRAY': |
|
242 | curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "DELETE"); |
|
243 | curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query)); |
|
244 | break; |
|
245 | case 'PUT': |
|
246 | curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT"); |
|
247 | break; |