To create the login request:
- In the Collections tree, right-click New Collection and then select Add Request.
- In the name field, enter Login.
- From the drop-down list, select POST.
-
In the Enter request URL field, enter the following,
replacing {domain_name} with your environment's domain name:
https://{domain_name}/identity/api/Authorization/login
- On the Body tab, select raw.
- From the drop-down list, select JSON.
-
As the Body, enter the following, replacing
{domain_name} with your environment's domain name and
{api_name} with the API you are targeting:
{ "identifier": "INSERT YOUR USERNAME HERE", "password": "INSERT YOUR PASSWORD HERE", "remember": true, "redirectUrl": "https://{domain_name}/{api_name}/swagger/oauth2-redirect.html" }
Possible API names
- heart
- identity
- repository
- policy
- analytics
- To send the request, click Send.
- Verify that the status code returns 200.
- Click Save.