Examples of invoking REST web services

You can build jobs that invoke REST web services from the Hierarchical Data stage by using HTTP methods.

In the examples, the REST step invokes the REST web service by using the HTTP methods such as GET, POST, DELETE, and PUT. The REST step supports various content types, such as JSON, XML, text, image, and audio. In the examples, the client uses the HTTP methods to send a request to the server in JSON or XML format. The client gets the response in JSON or XML format. The output file contains values that indicate whether the REST service calls ran successfully.

Although sample data is not provided for these examples, you can use the information in the examples when you use your own data to invoke REST services.