Calling APIs Registered in digiRunner with Basic Auth
PreviousUsing HTTP Basic and OAuth for Authentication and AuthorizationNextCalling APIs Registered in digiRunner with No OAuth
Was this helpful?
Was this helpful?
Was this helpful?
curl -v -X POST 'https://{digiRunner_DOMAIN}/tsmpc/tspTest/postApi' \
-H 'Accept: application/json' \
-H 'Authorization: Basic {client_secret_2}'{
"timestamp": "1685945360673",
"status": 401,
"error": "Unauthorized",
"message": "The client account or password is incorrect. clientId: tspclient",
"path": "/tsmpc/miniTest/bustaxi2"
}