Test the built-in Amazon Cognito server by sending a request.
-
Right click in the code block of a method, and select Run Test(s) from the popup menu.
The Web API Tester is launched.
-
In the Web API Tester, click the plus (+) sign to create a new request:
URL: http://localhost:5099/connect/token
HTTP method: POST
Content-Type: application/json
Request:
{"username":"admin@test.com", "password":"appeon123"}
-
Click Send to send the request, and the API returns the token information if validation is successful.