- style
put (REST plugin)
Perform a PUT method REST call against an endpoint.
If no body is returned, an empty string will be present in FDR_RESPONSE_STRING.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
|---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
|---|---|---|---|
Inputs
| Input Name | Input Code | Required | Description |
|---|---|---|---|
| REST URL | FDR_REQUEST_URL | Yes | URL to the desired REST Service |
| Query String | FDR_QUERY_STRING | No | Query String to be used. Use Groovy if desired to use FlexDeploy variables in the query string. 'a=b&c=d&e='+FD_TEMP_DIR+'&f=g' or, if not using Groovy, simply a=b&c=d Spaces will not be trimmed from the string. |
| Username | FDR_USER | No | The username for authentication |
| Password | FDR_PASSWORD | No | The password for authentication |
| Request Media Type | FDR_REQUEST_MEDIA_TYPE | No | The media type to request from the server |
| Body Media Type | FDR_REQUEST_BODY_MEDIA_TYPE | Yes | The media type of the body |
| Body Path | FDR_REQUEST_BODY_PATH | No* | The file path containing the request body. *Either Body or Body Path must be supplied. |
| Body | FDR_REQUEST_BODY | No* | The String to use as the request body. *Either Body or Body Path must be supplied. |
Outputs
Output Name | Required | Description |
|---|---|---|
| No | The Integer response code of from the REST response |
FDR_RESPONSE_STRING | No | The first Response Entity is returned as a String. |
Artifacts
This operation doesn’t consume or produce any artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instance.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style