(Optional) Testing the Cognito server

Test the built-in Amazon Cognito server by sending a request.

  1. Right click in the code block of a method, and select Run Test(s) from the popup menu.

    The Web API Tester is launched.

  2. 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"}
    
  3. Click Send to send the request, and the API returns the token information if validation is successful.