The Call REST Web Service action sends a request to a REST web service and returns the web service's response, which may be for instance XML, JSON or HTML. The response is either presented in HTML form as the current page or stored in a variable.
If the web service returns a fault, the message is not returned by the action. Instead, the action will generate an error which can be handled using the standard error handling mechanisms.
The Call REST Web Service action can be configured using the following properties:
Used for updating selected parts of data. For POST requests, you can either specify a number of parameters as name/value pairs or give the entire body of the request. If you specify the request with parameters, you must select whether to use POST (application/x-www-form-urlencoded) or MULTIPART (multipart/form-data) to encode the parameters. If you give the entire ('raw') body of the request, you must specify the content type of the request data.
For POST and PUT requests, MULTIPART encoding can be selected to enable file uploads. If a binary variable is
selected as the value of a File Upload parameter, the bytes are submitted as-is. If Base 64 encoding is desired,
the value of the parameter should be an expression
the name of the variable containing the binary value. In that case, it is also recommended to specify the value
as Content Transfer Encoding - otherwise, this field can normally be left blank.