(Optional) Testing the Cognito server – PB Docs 2022

(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:

  3. Click Send to send the
    request, and the API returns the token information if validation is
    successful.

    cognito_image19.png


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x