Performs an HTTP Post with the content of the FlowFile


http, https, remote, copy, archive


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 Expression Language Guide, 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 file has an entry for the property nifi.sensitive.props.key.

Name Default Value Allowable Values Description
URL The URL to POST to. The first part of the URL must be static. However, the path of the URL may be defined using the Attribute Expression Language. For example, https://${hostname} is not valid, but${} is valid.
Supports Expression Language: true
Max Batch Size 100 MB If the Send as FlowFile property is true, specifies the max data size for a batch of FlowFiles to send in a single HTTP POST. If not specified, each FlowFile will be sent separately. If the Send as FlowFile property is false, this property is ignored
Max Data to Post per Second The maximum amount of data to send per second; this allows the bandwidth to be throttled to a specified data rate; if not specified, the data rate is not throttled
SSL Context Service Controller Service API:
The Controller Service to use in order to obtain an SSL Context
Username Username required to access the URL
Password Password required to access the URL
Sensitive Property: true
Send as FlowFile false * true
* false
If true, will package the FlowFile's contents and attributes together and send the FlowFile Package; otherwise, will send only the FlowFile's content
Use Chunked Encoding * true
* false
Specifies whether or not to use Chunked Encoding to send the data. This property is ignored in the event the contents are compressed or sent as FlowFiles.
Compression Level 0 Determines the GZIP Compression Level to use when sending the file; the value must be in the range of 0-9. A value of 0 indicates that the file will not be GZIP'ed
Connection Timeout 30 sec How long to wait when attempting to connect to the remote server before giving up
Data Timeout 30 sec How long to wait between receiving segments of data from the remote server before giving up and discarding the partial file
Attributes to Send as HTTP Headers (Regex) Specifies the Regular Expression that determines the names of FlowFile attributes that should be sent as HTTP Headers
User Agent What to report as the User Agent when we connect to the remote server
Proxy Host The fully qualified hostname or IP address of the proxy server
Proxy Port The port of the proxy server
Content-Type ${mime.type} The Content-Type to specify for the content of the FlowFile being POSTed if Send as FlowFile is false. In the case of an empty value after evaluating an expression language expression, Content-Type defaults to application/octet-stream
Supports Expression Language: true


Name Description
failure Files that fail to send will transferred to failure
success Files that are successfully send will be transferred to success

Reads Attributes:

None specified.

Writes Attributes:

None specified.