Integration Plugins → Web Services Plugin → Invoke REST Service Step
This step performs a remote REST service request and stores the result.
|URL||Enter the URL to the remote REST service.|
|User Name||User name of the remote user|
|Password||Password of the remote user|
|Request method|| The action to be performed.
|Request Body||The body of the request to be performed|
|Destination|| The location where the execution result will
|Response file||Path to the file where the response will be saved|
An expression in the response to process for the step result. Specify this in one of the following formats:
<result property>=<success value>
A Groovy script, starting with the comment //GROOVY
|HTTP Headers|| This field contains HTTP headers that will
be added to the request. Specify each on a new line, with the header name
separated from the value with '='.
Path to the file containing the request body. The contents will be used as the request body instead of the Request Body field content.
|Content type||The MIME type of the request content.|
Attachment properties should be specified as line-separated strings in the following format:
<property name>[<index>]=<property value>
Allowed properties are:
Add indexes if there is more than one attachment. For example:
type=text name=My Text File file=c:\Temp\MyFile.txt type= binary name=My Exec File file=c:\Temp\MyFile3.exe fileName=NewFileName.exe
|Debug logs||Add debug information to logs.|
Copyright © 2013–2019 Micro Focus or one of its affiliates. All rights reserved.