I'm trying to use the api to supply data to a homepage widget but I can't seem to get access.
Here's what I'm trying at the moment:
As far as I can see, I'm providing credentials (yes, its the right password) but the PBS server is telling me "no authentication credentials provided"
Am I going mad or is it something simple I'm missing?
Here's what I'm trying at the moment:
Code:
root@homepage:~# curl -i -L -k -u apiro@pbs:redactedpassword https://192.168.6.6:8007/api2/json/status/datastore-usage
Enter host password for user 'apiro@pbs':
HTTP/1.1 401 Unauthorized
content-length: 63
date: Mon, 06 May 2024 13:24:03 GMT
authentication failed - no authentication credentials provided.
As far as I can see, I'm providing credentials (yes, its the right password) but the PBS server is telling me "no authentication credentials provided"
Am I going mad or is it something simple I'm missing?