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:
Anydoby can help me?
Here's what I'm trying:
Code:
root@homepage:~# curl -i -L -k -H 'Authorization: PBSAPIToken=homepage@pam!homepage:9cc0aecd-e899-46fe-86b0-71f1f7aa02cc' https://192.168.68.112:8006/api2/json/cluster
/resources
HTTP/1.1 401 No ticket
Cache-Control: max-age=0
Connection: close
Date: Thu, 28 Aug 2025 19:30:32 GMT
Pragma: no-cache
Server: pve-api-daemon/3.0
Expires: Thu, 28 Aug 2025 19:30:32 GMT
Anydoby can help me?