An HTTP client processor which converts FlowFile attributes to HTTP headers, with configurable HTTP method, url, etc.
Tags: http, https, rest, client
Properties:
In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), 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 | Description | Default Value | Valid Values | EL | Sensitive |
---|---|---|---|---|---|
HTTP Method | HTTP request method (GET, POST, PUT, DELETE, HEAD, OPTIONS). | GET | Yes | No | |
Remote URL | Remote URL which will be connected to, including scheme, host, port, path. | Yes | No | ||
SSL Context Service | The SSL Context Service used to provide client certificate information for TLS/SSL (https) connections. | No | No | ||
Connection Timeout | Max wait time for connection to remote service. | 5 secs | No | No | |
Read Timeout | Max wait time for response from remote service. | 15 secs | No | No | |
Include Date Header | Include an RFC-2616 Date header in the request. | True |
| No | No |
Follow Redirects | Follow HTTP redirects issued by remote server. | True |
| No | No |
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. | No | No |
Relationships:
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). |