You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/05 02:43:58 UTC
[jira] [Commented] (NIFI-3280) PostHTTP Option to write response to
attribute or flowfile content
[ https://issues.apache.org/jira/browse/NIFI-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800088#comment-15800088 ]
ASF GitHub Bot commented on NIFI-3280:
--------------------------------------
GitHub user nickcarenza opened a pull request:
https://github.com/apache/nifi/pull/1395
NIFI-3280 [WIP] PostHTTP Option to write response to attribute or flowfile content
- property to store response body in attribute or replace flowfile content
- property to set which attribute to store response body in
- property to store response code in attribute
- property to set which attribute to store response code in
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickcarenza/nifi NIFI-3280
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1395.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1395
----
commit c5fac63cccf743aa1838e9325e5002d460745531
Author: Nick Carenza <ni...@thecontrolgroup.com>
Date: 2017-01-05T02:39:13Z
NIFI-3280
----
> PostHTTP Option to write response to attribute or flowfile content
> ------------------------------------------------------------------
>
> Key: NIFI-3280
> URL: https://issues.apache.org/jira/browse/NIFI-3280
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Nicholas Carenza
> Priority: Minor
>
> Currently there doesn't seem to be a way to access anything about the response of an HTTP request from the PostHTTP processor other than whether it failed or succeeded.
> I would like to be able to:
> - store the response body in an attribute or replace the flowfile content
> - store the status code in an attribute
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)