@@ -115,11 +115,11 @@ |
||
| 115 | 115 | call_user_func($this->_curl_callback, $ch, $params, $headers, $method); |
| 116 | 116 | } |
| 117 | 117 | switch (strtoupper($method)) { |
| 118 | - case 'PUT': |
|
| 118 | + case 'PUT': |
|
| 119 | 119 | case 'PATCH': |
| 120 | 120 | case 'DELETE': |
| 121 | 121 | curl_setopt($ch, CURLOPT_CUSTOMREQUEST, strtoupper($method)); |
| 122 | - curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params)); |
|
| 122 | + curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params)); |
|
| 123 | 123 | break; |
| 124 | 124 | case 'POST': |
| 125 | 125 | curl_setopt($ch, CURLOPT_POST, true); |