A REST Web Service resource, can be created to consume a REST Web Service.
You can create a new web service by selecting File > New > REST Web Service Resource
Firstly, you will need to enter a Base URI.
Then you can add additional endpoints within the tree using the plus icon
, and add additional detail to these endpoints such as:
- Endpoint URI
- Method
- Request/Response tabs
The resource fields will be accessible to all the endpoints that are created. Therefore, you only need to map the response body once.
