jimlongo56
Basic Pleskian
I'm having a problem with RestAPI calls made using tokens created by the plesk utility.
If I create a token with
This token will get a 401 in Postman when used in a RestAPI call.
A Token created in Postman using a call to
when used in API calls is successful.
This also happens in my PHP code with API calls. Tokens created by the plesk utility are unauthorized, tokens created by /api/v2/auth/keys are okay.
You might say, then just use the second method to get the keys, but that method requires interaction from a person with administrative name and password, whereas the utility does not.
This is the latest version of Onyx on Linux.
If I create a token with
Code:
plesk bin secret_key -c -ip-address nn.175.208.108
A Token created in Postman using a call to
Code:
https://my.server.com:8443/api/v2/auth/keys
This also happens in my PHP code with API calls. Tokens created by the plesk utility are unauthorized, tokens created by /api/v2/auth/keys are okay.
You might say, then just use the second method to get the keys, but that method requires interaction from a person with administrative name and password, whereas the utility does not.
This is the latest version of Onyx on Linux.