I always get an error when I try to add a new device, but device gets added. Is there a way not to get this error?
curl -X POST -H "X-Auth-Token: ************" \
--data-raw '
{
"hostname": "NewDevice",
"version": "v2c",
"community": "************"
}
' \
http://10.255.255.20/api/v0/devices
{
"status": "error",
"message": "cURL error 7: Failed to connect to 127.0.0.1 port 8888: Connection refused (see https:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html) for http:\/\/127.0.0.1:8888\/reload.json"
}%