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/providersResponse: {"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.
Try this endpoint to download the latest configuration:https://xxx.xxx.xxx.xxx/api/core/backup/download/thishttps://github.com/opnsense/core/commit/39b531783
I tried with 24.7.8 but it should be around for a while.