API call to NX Server via NX Cloud
AnsweredHi there,
I am following this guide: https://support.networkoptix.com/hc/en-us/articles/360016266074-Cloud-API-Route-API-Calls-via-Nx-Cloud to remote API access via NX Cloud.
However, I am getting this error response when calling https://xxxx.relay.vmsproxy.com/rest/v2/login/sessions endpoint (method POST)
```
-
Hello,
It looks like you're using Digest authentication when the account having Bearer authorization or vice versa,
bearer authorization with the account having Digest authorization.
Check the auth method in your code and in the account settings.
In addition, since you're requesting API via a cloud relay, make sure you retain authorization headers.
For more details about it, please read this thread
0 -
Thanks for the support. Now I can get the token data from the Cloud by OAuth2.
0
Please sign in to leave a comment.
Comments
2 comments