Perform a trial REST call through the API Gateway
To test that you have set everything up correctly, it is a good idea to perform a trial REST call through the API Gateway, to test one of the exposed connectors.
For this, we recommend that you use a tool such as Advanced REST client or Postman.
Before testing, or if the test fails, make sure that you have followed all the steps in
“General Configuration” . Also, restart the API Gateway.
1.5.1. Example - if the Mobile connector is enabled:
1. Enter the applicable URL, in this example:
http://localhost:9090/MobileTicket/services/1/branches/1/ticket/issue
Change the URL in the example to match your URL. This example would issue a mobile ticket for Service 1, Branch 1.
2. Make sure that the api-token in the
Saved field matches your api-token. For more information, see
Generate an API Token. Click
Send.
3. Check the Response, in the bottom part of the screen. Make sure that the result is the expected:
Here, you can, in this example, find clientId, serviceId, branchId, queueId, ticketNumber, visitId, and checksum.