An authentication token can be retrieved using the curl command line tool.
curl --insecure --location --request POST "https://<imageArtistDomain>/api/1.1/authentication/token" \
--header 'Content-Type: application/json' \
--data-raw '{
"userName": "<user>",
"password": "<password>",
"urls": ["/api/1.1/*"]
}'Where:
<imageArtistDomain>is the domain name of the Image Artist host<user>is the Image Artist user account for which the authentication token is requested<password>is the password of the aforementioned user
Which should yield an output which includes the token, as shown in the example below:
{
"token": "b453e28e-de55-40a2-8dc5-827732e801bb",
"urls": [
"/api/1.1/*"
]
}
Comments
0 comments
Article is closed for comments.