curl -H "Content-Type: application/json" https://datasqueezer.com/nexus/createTask -d '{ "token": "__API_TOKEN__", "service": "gpsr", "data": ["__MANUFACTURER__", "__MANUFACTURER2__"] }'
TITLE DESCRIPTION REQUIRED PARAMETER __MANUFACTURER__ Manufacturer's name
yes __MANUFACTURER2__ Another manufacturer name
(this way you can send multiple manufacturers)
ne
import requests
import jsonendpoint = 'https://datasqueezer.com/nexus/createTask'
data = {
'token': '__API_TOKEN__',
'service': 'gpsr',
'data': ['__MANUFACTURER__', '__MANUFACTURER2__'],
}response = requests.post(endpoint, data=json.dumps(data))
| TITLE | DESCRIPTION | REQUIRED PARAMETER |
| __MANUFACTURER__ | Manufacturer's name | yes |
| __MANUFACTURER2__ | Another manufacturer name | ne |
$curlHandle=curl_init("https://datasqueezer.com/nexus/createTask");
$data=[
'token'=>'__API_TOKEN__',
'service'=>'gpsr',
'data'=>['__MANUFACTURER__', '__MANUFACTURER2__'],
];curl_setopt($curlHandle, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curlHandle, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);$response=curl_exec($curlHandle);
$error_msg=curl_error($curlHandle);
curl_close($curlHandle);
| TITLE | DESCRIPTION | REQUIRED PARAMETER |
| __MANUFACTURER__ | Manufacturer's name | yes |
| __MANUFACTURER2__ | Another manufacturer name | ne |

