To confirm that the SImA API is accessible, an authentication token can be retrieved using the curl command line tool.
curl --location --request POST 'https://<sima_host>/api/1.1/authentication/token' --header 'Content-Type: application/json' --data-raw '{
"userName": "<username>",
"password": "<password>",
"urls": ["/api/1.1/*"]
}'
Which should yield an output which includes the token, like this:
{
"token": "b453e28e-de55-40a2-8dc5-827732e801bb",
"urls": [
"/api/1.1/*"
]
}
Comments
0 comments
Article is closed for comments.