@ -46,13 +46,13 @@ $curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'control.local/api/v2/order',
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"paymentmethod": "paypal",
"pid": [1,2],
"billingcycle": ["monthly", "monthly"],
"hostname": ["a.server.de", "b.server.de"],
"rootpw": ["passwort-server-a", "password-server-b"]
}'
}',
CURLOPT_HTTPHEADER => array(
'X-TOKEN: test-token',
'Content-Type: application/json'