|
@@ -75,7 +75,7 @@ discard block |
|
|
block discarded – undo |
|
75
|
75
|
curl_setopt($ch, CURLOPT_POST, 1); |
|
76
|
76
|
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($parameters)); |
|
77
|
77
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
|
78
|
|
- $response = curl_exec($ch); |
|
|
78
|
+ $response = curl_exec($ch); |
|
79
|
79
|
curl_close($ch); |
|
80
|
80
|
|
|
81
|
81
|
$body = json_decode($response, false); |
|
@@ -137,7 +137,7 @@ discard block |
|
|
block discarded – undo |
|
137
|
137
|
curl_setopt($ch, CURLOPT_POST, 1); |
|
138
|
138
|
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($parameters)); |
|
139
|
139
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
|
140
|
|
- $response = curl_exec($ch); |
|
|
140
|
+ $response = curl_exec($ch); |
|
141
|
141
|
curl_close($ch); |
|
142
|
142
|
|
|
143
|
143
|
$body = json_decode($response, false); |
Please login to merge, or discard this patch.