L.7.3 Test using Web API Testing tool (example Postman)
To test this service using the Web API Testing tool, follow these steps:
- Create a new request from the tool's New Menu.
- Select the request type as POST.
- Enter the FTP Rest services URL.
- In the headers section set the 'Content-Type= application/JSON'.
- We have detailed the request JSON format for all the web services.
- Create the JSON in the required format.
- Copy the JSON and paste it in the Body -> raw section of the tool.
- Press the send button.
- The request is submitted to the requested web service.
- The service is invoked on the server and the requested/calculated values are shown
in the response section of the tool.
The following screenshot illustrates how the web service call is made using the tool.
Figure L-3 Web API Testing Tool (example Postman)