I'm having issues Authenticating with the Rest API.
I am running TrueNAS-12.0-U2.1, and everything is working as expected except for the API.
I have tried both Basic authentication and Bearer Authentication, my goal is to use restsharp but I have also tried python and curl and all of them return 401: Unauthorized.
I have tried most methods of authenticating with curl but they generally go something like this.
curl -H 'Accept: application/json' -H "Authorization: Bearer...
API Authentication Troubles
I am running TrueNAS-12.0-U2.1, and everything is working as expected except for the API.
I have tried both Basic authentication and Bearer Authentication, my goal is to use restsharp but I have also tried python and curl and all of them return 401: Unauthorized.
I have tried most methods of authenticating with curl but they generally go something like this.
curl -H 'Accept: application/json' -H "Authorization: Bearer...
API Authentication Troubles