Trying to setup a HTTP connection for Claroty xDome in InsightConnect but everything I have attempted to get the connection working has failed. I keep receiving a message that the username and/or password is incorrect. I have tried using a custom header. The annoying thing is that I can get it working in Postman and cURL.
I was wondering if anyone has had any luck with connecting to Claroty xDome’s API. I suspect i will need to write a python script to get this working.
The authentication needs to be setup using a bearer token. The curl request for some reason is now throwing "expecting property name enclosed in double quotes error.
but the command is curl -H “Content-Type: application/json” -H “Authorization: Bearer ” -d ‘{“offset”:0, “limit”:100,“fields”:[“uid”,“model”]}’ -L https:///api/v1/devices/
If you leave the trailing / off, then you get an error message “Method Not Allowed”