curl -H "Content-Type: application/json" https://datasqueezer.com/nexus/createTask -d '{ "token": "__API_TOKEN__", "service": "domainrisk", "data": ["__DOMAIN__","__DOMAIN2__"] }'
NÁZOV POPIS POVINNÝ PARAMETER __DOMAIN__ Doména
áno __DOMAIN2__ Ďalšia doména. Takto možno poslať viac domén naraz.
ne
import requests
import jsonendpoint = 'https://datasqueezer.com/nexus/createTask'
data = {
'token': '__API_TOKEN__',
'service': 'domainrisk',
'data': ['__DOMAIN__','__DOMAIN__'],
}response = requests.post(endpoint, data=json.dumps(data))
| NÁZOV | POPIS | POVINNÝ PARAMETER |
| __DOMAIN__ | Doména | áno |
| __DOMAIN2__ | Ďalšia doména. Takto možno poslať viac domén naraz. | ne |
$curlHandle=curl_init("https://datasqueezer.com/nexus/createTask");
$data=[
'token'=>'__API_TOKEN__',
'service'=>'domainrisk',
'data'=>['__DOMAIN__','__DOMAIN2__'],
];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);
| NÁZOV | POPIS | POVINNÝ PARAMETER |
| __DOMAIN__ | Doména | áno |
| __DOMAIN2__ | Ďalšia doména. Takto možno poslať viac domén naraz. | ne |

