@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | $response = curl_exec($curl); |
| 17 | 17 | $err = curl_errno($curl); |
| 18 | -$errmsg = curl_error($curl) ; |
|
| 18 | +$errmsg = curl_error($curl); |
|
| 19 | 19 | |
| 20 | 20 | curl_close($curl); |
| 21 | 21 | |
@@ -11,12 +11,12 @@ |
||
| 11 | 11 | CURLOPT_FOLLOWLOCATION => true, |
| 12 | 12 | CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, |
| 13 | 13 | CURLOPT_CUSTOMREQUEST => 'POST', |
| 14 | - CURLOPT_POSTFIELDS => array('name' => 'Goomer','image' => 'image/img.jpg','address' => 'Rua Sorocaba, 000, Sorocaba-SP','is_active' => '1','is_accepted' => '1','is_schedulable' => '1','schedule_data' => '{"wednesday":[{"open" :"21:20","close" :"23:48"}]}'), |
|
| 14 | + CURLOPT_POSTFIELDS => array('name' => 'Goomer', 'image' => 'image/img.jpg', 'address' => 'Rua Sorocaba, 000, Sorocaba-SP', 'is_active' => '1', 'is_accepted' => '1', 'is_schedulable' => '1', 'schedule_data' => '{"wednesday":[{"open" :"21:20","close" :"23:48"}]}'), |
|
| 15 | 15 | )); |
| 16 | 16 | |
| 17 | 17 | $response = curl_exec($curl); |
| 18 | 18 | $err = curl_errno($curl); |
| 19 | -$errmsg = curl_error($curl) ; |
|
| 19 | +$errmsg = curl_error($curl); |
|
| 20 | 20 | |
| 21 | 21 | curl_close($curl); |
| 22 | 22 | |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | $response = curl_exec($curl); |
| 18 | 18 | $err = curl_errno($curl); |
| 19 | -$errmsg = curl_error($curl) ; |
|
| 19 | +$errmsg = curl_error($curl); |
|
| 20 | 20 | |
| 21 | 21 | curl_close($curl); |
| 22 | 22 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | $response = curl_exec($curl); |
| 17 | 17 | $err = curl_errno($curl); |
| 18 | -$errmsg = curl_error($curl) ; |
|
| 18 | +$errmsg = curl_error($curl); |
|
| 19 | 19 | |
| 20 | 20 | curl_close($curl); |
| 21 | 21 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | $response = curl_exec($curl); |
| 17 | 17 | $err = curl_errno($curl); |
| 18 | -$errmsg = curl_error($curl) ; |
|
| 18 | +$errmsg = curl_error($curl); |
|
| 19 | 19 | |
| 20 | 20 | curl_close($curl); |
| 21 | 21 | |
@@ -11,12 +11,12 @@ |
||
| 11 | 11 | CURLOPT_FOLLOWLOCATION => true, |
| 12 | 12 | CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, |
| 13 | 13 | CURLOPT_CUSTOMREQUEST => 'POST', |
| 14 | - CURLOPT_POSTFIELDS => array('name' => 'Produto Goomer','price' => '20.5','image' => 'image/img.jpg','description' => 'Teste de criação de produtos','old_price' => '0.00'), |
|
| 14 | + CURLOPT_POSTFIELDS => array('name' => 'Produto Goomer', 'price' => '20.5', 'image' => 'image/img.jpg', 'description' => 'Teste de criação de produtos', 'old_price' => '0.00'), |
|
| 15 | 15 | )); |
| 16 | 16 | |
| 17 | 17 | $response = curl_exec($curl); |
| 18 | 18 | $err = curl_errno($curl); |
| 19 | -$errmsg = curl_error($curl) ; |
|
| 19 | +$errmsg = curl_error($curl); |
|
| 20 | 20 | |
| 21 | 21 | curl_close($curl); |
| 22 | 22 | |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | $response = curl_exec($curl); |
| 18 | 18 | $err = curl_errno($curl); |
| 19 | -$errmsg = curl_error($curl) ; |
|
| 19 | +$errmsg = curl_error($curl); |
|
| 20 | 20 | |
| 21 | 21 | curl_close($curl); |
| 22 | 22 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | $response = curl_exec($curl); |
| 17 | 17 | $err = curl_errno($curl); |
| 18 | -$errmsg = curl_error($curl) ; |
|
| 18 | +$errmsg = curl_error($curl); |
|
| 19 | 19 | |
| 20 | 20 | curl_close($curl); |
| 21 | 21 | |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | $response = curl_exec($curl); |
| 17 | 17 | $err = curl_errno($curl); |
| 18 | -$errmsg = curl_error($curl) ; |
|
| 18 | +$errmsg = curl_error($curl); |
|
| 19 | 19 | |
| 20 | 20 | curl_close($curl); |
| 21 | 21 | |