[ 
https://issues.apache.org/jira/browse/NIFI-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15805245#comment-15805245
 ] 

ASF GitHub Bot commented on NIFI-3280:
--------------------------------------

Github user nickcarenza commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1395#discussion_r94995239
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
 ---
    @@ -16,49 +16,45 @@
      */
     package org.apache.nifi.processors.standard;
     
    --- End diff --
    
    - sorted imports
    - added org.apache.http.entity.ContentType
    - added org.apache.nifi.annotation.behavior.WritesAttribute
    - added org.apache.nifi.annotation.behavior.WritesAttributes


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

Reply via email to