In the REST step, Tom configures the URL and the HTTP DELETE
method to use to invoke the REST web service.
Procedure
- In the outline, click the REST step.
- On the General page, select DELETE from
the HTTP method list.
- In the URL field, specify a URL
string that includes job parameters:
- Click Insert Parameter.
- In the Insert Parameter window, select the restServer job
parameter.
- Click OK to add the parameter
to the URL.
- Repeat steps a to c to enter the restServerPort job
parameter to the URL.
- Enter the rest of the URL manually: http://#restServer#:#restServerPort#/Bookmarks/rest/bookmarks/1
In this URL, index entry 1 is the resource to remove from
the bookmarks service. Bookmarks is the service where you can add
bookmarks by specifying the index value. In this job, you delete a
bookmark by passing its index value to the URL.
- On the Response page, specify information
about the response body of the REST web service:
- Select the Pass the received body to check
box.
- Select the A text node named body in the
Output schema option.
- From the Content type list, select application/xml.