Authorization API

circle-info

Manage user authentication

chevron-rightPOST /account/loginhashtag

Purpose

Login with username and password

Request (cURL)

curl --location '{{_.base_url}}/account/login' \
--header 'Content-Type: application/json' \
--data-raw '{
	"userName": "{{userName}}",
	"password": "{{password}}"
}'

Request body

{
	"userName": "{{userName}}",
	"password": "{{password}}"
}

Response

Explanation:

  • data: true → login succeeded.

  • The server sets a session cookie (e.g., digitalAudience) for authenticated requests.

Last updated