1
General Discussion / Re: Am I using the API wrong?
« on: November 21, 2024, 03:44:20 pm »
You may want to change your format, you are getting a 400 error, so your request is incorrect:
curl -k -u user:secret https://X.X.X.X/api/core/backup/providers
Response:
{"items":{"this":{"description":"This Firewall","dirname":"\/conf\/backup"}}}
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error.
curl -k -u user:secret https://X.X.X.X/api/core/backup/providers
Response:
{"items":{"this":{"description":"This Firewall","dirname":"\/conf\/backup"}}}
The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error.