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. 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.

NameDefault ValueValid ValuesDescription
HTTP MethodGETHTTP request method (GET, POST, PUT, DELETE, HEAD, OPTIONS).
Supports Expression Language: true
Remote URLRemote URL which will be connected to, including scheme, host, port, path.
Supports Expression Language: true
SSL Context ServiceThe SSL Context Service used to provide client certificate information for TLS/SSL (https) connections.
Connection Timeout5 secsMax wait time for connection to remote service.
Read Timeout15 secsMax wait time for response from remote service.
Include Date HeaderTrue
  • True
  • False
Include an RFC-2616 Date header in the request.
Follow RedirectsTrue
  • True
  • False
Follow HTTP redirects issued by remote server.
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.

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).