This page provides a comprehensive reference for http put available in the workflow automation actions catalog. These actions enable you to http put request operations.
Prerequisites
For prerequisites, see HTTP actions.
Automatic request headers
All HTTP requests performed by Workflow Automation automatically include the following headers:
Header | Format |
|---|---|
|
|
|
|
PUT a resource at a URL
Performs an HTTP PUT request to update data at an API endpoint.
重要
If you need to pass sensitive data to an input, for example an Api-Key header, you can use values stored via the secretsManagementCreateSecret NerdGraph mutation.
Example:
{ "inputs": [ { "key": "headers", "value": "{\"Api-Key\": \"${{ :secrets:NR_API_KEY }}\"}" } ]}Input | Type | Description |
|---|---|---|
url | String | Required. The target URL for the request. The scheme must be included: |
urlParams | Map | Optional. The query parameters to append to the URL. Takes a stringified JSON object. |
headers | Map | Optional. The headers to add to the request. Takes a stringified JSON object. |
body | String | Optional. The request body. |
selectors | List | Optional. The selectors to get only the specified parameters as output. |
Output | Type | Description |
|---|---|---|
responseBody | String | The body of the response. |
statusCode | Int | The HTTP status code of the response. |
success | Boolean | Status of the request. |
errorMessage | String | Failure reason as message. |
Workflow definition | Inputs | Outputs |
|---|---|---|
| | |