L.8.2 Test using Web API Testing tool (example Postman)

To test this service using the Web API Testing tool, follow these steps:

  1. Create a new request from the tool's New Menu.
  2. Select the request type as POST.
  3. Enter the FTP Rest services URL.
  4. In the headers section set the 'Content-Type= application/JSON'.
  5. We have detailed the request JSON format for all the web services.
  6. Create the JSON in the required format.
  7. Copy the JSON and paste it in the Body 'raw section of the tool.
  8. Press the send button.
  9. The request is submitted to the requested web service.
  10. The service is invoked on the server and the requested/calculated values are shown in the response section of the tool.
  11. This is a secured web service and uses basic authorization. So authorization section of the tool should be populated with a valid user Id and password of the FTP application.
  12. The header section of the tool needs additional parameters 'userID' with the value of a valid FTP User ID.

The following screenshot illustrates how the web service call is made using the tool.

Figure L-4 Web API Testing Tool (example Postman)


Web API Testing Tool (example Postman)