Description:

An HTTP client processor which converts FlowFile attributes to HTTP headers, with configurable HTTP method, url, etc.

Additional Details...

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.

NameDescriptionDefault ValueValid ValuesELSensitive
HTTP MethodHTTP request method (GET, POST, PUT, DELETE, HEAD, OPTIONS).GETYesNo
Remote URLRemote URL which will be connected to, including scheme, host, port, path.YesNo
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.NoNo
Connection TimeoutMax wait time for connection to remote service.5 secsNoNo
Read TimeoutMax wait time for response from remote service.15 secsNoNo
Include Date HeaderInclude an RFC-2616 Date header in the request.True
  • True
  • False
NoNo
Follow RedirectsFollow HTTP redirects issued by remote server.True
  • True
  • False
NoNo
Attributes to SendRegular expression that defines which attributes to send as HTTP headers in the request. If not defined, no attributes are sent as headers.NoNo

Relationships:

NameDescription
RetryFlowFile will be routed on any status code that can be retried (5xx status codes).
No RetryFlowFile will be routed on any status code that should NOT be retried (1xx, 3xx, 4xx status codes).
ResponseResponse FlowFile will be routed upon success (2xx status codes).
FailureFlowFile will be routed on any type of connection failure, timeout or general exception.
OriginalOriginal FlowFile will be routed upon success (2xx status codes).