|
|
|
@ -44,7 +44,7 @@ |
|
|
|
|
$curl = curl_init(); |
|
|
|
|
|
|
|
|
|
curl_setopt_array($curl, array( |
|
|
|
|
CURLOPT_URL => 'control.local/api/v2/order', |
|
|
|
|
CURLOPT_URL => 'https://api.dsh.gg/api/v2/order', |
|
|
|
|
CURLOPT_CUSTOMREQUEST => 'GET', |
|
|
|
|
CURLOPT_POSTFIELDS =>'{ |
|
|
|
|
"paymentmethod": "paypal", |
|
|
|
@ -67,7 +67,7 @@ echo $response; |
|
|
|
|
|
|
|
|
|
##### cURL |
|
|
|
|
```bash |
|
|
|
|
curl --location --request GET 'control.local/api/v2/order' \ |
|
|
|
|
curl --location --request GET 'https://api.dsh.gg/api/v2/order' \ |
|
|
|
|
--header 'X-TOKEN: test-token' \ |
|
|
|
|
--header 'Content-Type: application/json' \ |
|
|
|
|
--data-raw '{ |
|
|
|
|