5 Posts
1
2225
May 24th, 2020 10:00
Can't obtain Authentication Token
Hi,
I've installed a DDVE (dd_version_release=7.2.0.5-653470) in a Lab.
Now I want to send REST API calls to the machine, but cant obtain Authentication Token
What I do first is (based on the docs) to request a Token by executing:
curl -k -X 'POST' --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ "auth_info": {"username":"sysadmin", "password":"***" } }' 'https://:3009/rest/v1.0/auth'
The respond is:
{"service_status": {"code": 0, "link": [{"href": "/rest/v1.0/system", "rel": "related"}], "details": "success"}}
What I miss here is the Authentication Token, which I need to be able to perform further Rest-Api-Calls.
Can someone help me please?
Regards
No Events found!