HTTP
HTTP request valves.
Requires module HttpClient to be configured and deployed.
Valves are NOT part of the Item iteration API. To create Items from response use ItemCreateValve.
Common configuration
These configuration properties applies to all HTTP valves.
Name | Description | Default value | Mandatory | Expanded |
---|---|---|---|---|
| Request URL. | N/A | ||
| HttpClient instance to use. |
| ||
| JSON map of request headers. |
| ||
| JSON map of request parameters. Only applicable if |
| ||
| The body as a JSON object. Only applicable if |
| ||
| If set to true the valve will NOT fail with a status code of 404. |
|
Response
If request is successful (status 200) the response body and headers are set in the current flow state. If request fails, Pipe will fail with response text as reason.
Name | Description |
---|---|
headers | JSON map of response headers |
body | If response body is of type |
response_code | HTTP response code as an integer. |