L.9.2 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 GET.
- Enter the FTP Rest services URL.
- In the headers section set the 'Content-Type= text/html'.
- In param tabs of the request add key as 'requestId' and value as the request data for which I want to retrieve data. Example requestId=8.
- 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.
- This is a secured web service and uses basic authorization. So, the authorization section of the tool should be populated with a valid user Id and password of the FTP application.
- The header section of the tool needs additional parameters 'userID' with the value
of a valid FTP application User ID.
This screenshot illustrates how the web service call is made using the tool.
Figure L-5 Web API Testing Tool (example Postman)
Related Topics:
- See the OFS Funds Transfer Pricing Applications Pack Installation and Configuration Guide for more information on installing and configuring FTP Web Services.