An HTTP client processor which converts FlowFile attributes to HTTP headers, with configurable HTTP method, url, etc.
http, https, rest, client
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language, and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
| Name | Default Value | Valid Values | Description |
|---|---|---|---|
| HTTP Method | GET | HTTP request method (GET, POST, PUT, DELETE, HEAD, OPTIONS). Supports Expression Language: true | |
| Remote URL | Remote URL which will be connected to, including scheme, host, port, path. Supports Expression Language: true | ||
| SSL Context Service | The SSL Context Service used to provide client certificate information for TLS/SSL (https) connections. | ||
| Connection Timeout | 5 secs | Max wait time for connection to remote service. | |
| Read Timeout | 15 secs | Max wait time for response from remote service. | |
| Include Date Header | True |
| Include an RFC-2616 Date header in the request. |
| Follow Redirects | True |
| Follow HTTP redirects issued by remote server. |
| Attributes to Send | Regular expression that defines which attributes to send as HTTP headers in the request. If not defined, no attributes are sent as headers. |
| Name | Description |
|---|---|
| Retry | FlowFile will be routed on any status code that can be retried (5xx status codes). |
| No Retry | FlowFile will be routed on any status code that should NOT be retried (1xx, 3xx, 4xx status codes). |
| Response | Response FlowFile will be routed upon success (2xx status codes). |
| Failure | FlowFile will be routed on any type of connection failure, timeout or general exception. |
| Original | Original FlowFile will be routed upon success (2xx status codes). |