You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by mohammed shambakey <sh...@gmail.com> on 2017/02/12 12:41:37 UTC

http form contents

Hi

I'm using a "handleHTTPRequest" to receive "FORM POST" contents. The output
flowfile contains all form contents seperated by "------------some-number",
and each section contains header.

Is there a way in NIFI to get values of specific "FORM INPUT"?

Regards

-- 
Mohammed

Re: http form contents

Posted by mohammed shambakey <sh...@gmail.com>.
Many thanks Koji

On Mon, Feb 13, 2017 at 2:17 AM, Koji Kawamura <ij...@gmail.com>
wrote:

> Hi Mohammed,
>
> I looked at HandleHttpRequest code, it turns out that it doesn't
> support 'multipart/form-data'.
> Supporting form encoded request is a legitimate improvement for NiFi.
> Other users has asked the same question before:
> http://apache-nifi-users-list.2361937.n4.nabble.com/Retrieve-files-from-
> handleHttpRequest-processor-td672.html
> http://mail-archives.apache.org/mod_mbox/nifi-users/
> 201602.mbox/%3C6DE9CEEF-2A37-480F-8D3C-5028C590FD9E%40acesinc.net%3E
>
> There's a JIRA to add this capability to ListenHTTP
> "Add multipart request support to ListenHTTP Procesor"
> https://issues.apache.org/jira/browse/NIFI-1490
>
> I took the liberty of raising a JIRA for HandleHttpRequest, and
> summarized what we need to add to enable multipart/form-data
> ingestion.
> "Add multipart request support to HandleHttpRequest Procesor"
> https://issues.apache.org/jira/browse/NIFI-3469
>
> Thank you for sharing your experience, and I hope it will be addressed
> shortly.
> Koji
>
>
> On Sun, Feb 12, 2017 at 9:41 PM, mohammed shambakey
> <sh...@gmail.com> wrote:
> > Hi
> >
> > I'm using a "handleHTTPRequest" to receive "FORM POST" contents. The
> output
> > flowfile contains all form contents seperated by
> "------------some-number",
> > and each section contains header.
> >
> > Is there a way in NIFI to get values of specific "FORM INPUT"?
> >
> > Regards
> >
> > --
> > Mohammed
>



-- 
Mohammed

Re: http form contents

Posted by Koji Kawamura <ij...@gmail.com>.
Hi Mohammed,

I looked at HandleHttpRequest code, it turns out that it doesn't
support 'multipart/form-data'.
Supporting form encoded request is a legitimate improvement for NiFi.
Other users has asked the same question before:
http://apache-nifi-users-list.2361937.n4.nabble.com/Retrieve-files-from-handleHttpRequest-processor-td672.html
http://mail-archives.apache.org/mod_mbox/nifi-users/201602.mbox/%3C6DE9CEEF-2A37-480F-8D3C-5028C590FD9E%40acesinc.net%3E

There's a JIRA to add this capability to ListenHTTP
"Add multipart request support to ListenHTTP Procesor"
https://issues.apache.org/jira/browse/NIFI-1490

I took the liberty of raising a JIRA for HandleHttpRequest, and
summarized what we need to add to enable multipart/form-data
ingestion.
"Add multipart request support to HandleHttpRequest Procesor"
https://issues.apache.org/jira/browse/NIFI-3469

Thank you for sharing your experience, and I hope it will be addressed shortly.
Koji


On Sun, Feb 12, 2017 at 9:41 PM, mohammed shambakey
<sh...@gmail.com> wrote:
> Hi
>
> I'm using a "handleHTTPRequest" to receive "FORM POST" contents. The output
> flowfile contains all form contents seperated by "------------some-number",
> and each section contains header.
>
> Is there a way in NIFI to get values of specific "FORM INPUT"?
>
> Regards
>
> --
> Mohammed