Thanks Andy

I have a user web interface that send some form information (e.g., user
id), as well as upload multiple files, to a remote NIFI instance. When
using "handlhttprequest" processor, it results in a single file that
contains "form inputs" and bodies of uploaded files.

I want to extract individual components of this file (i.e., download all
uploaded files and extract other form information (e.g., userid) in a JSON
or other text file. I had a similar problem before and I learnt that
"httphandlerequest" has a problem to extract individual compoents from, so
I have to write my own scripts to extract these components (form inputs and
uploaded files).

As NIFI input ports does not face this problem of "handlehttprequest", I
though if I can send form inputs and upload files directly to "NIFI input
port" at remote site, then I don't have to write my own scripts to extract
individual components.

Regards

On Mon, Feb 27, 2017 at 10:02 AM, Andy LoPresto <[email protected]>
wrote:

> Mohammed,
>
> I’m not sure I understand your question. NiFi has a REST API which
> supports the UI and allows scripts/other applications to make requests of
> the platform. This runs on the input port specified in nifi.properties.
>
> If you want to submit form data and uploaded files as data to be ingested
> by NiFi, HandleHTTPRequest or (less likely) ListenHTTP are the processors
> you would want to use.
>
> If you can clarify your use case, we should be able to offer more
> assistance.
>
> Andy LoPresto
> [email protected]
> *[email protected] <[email protected]>*
> PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69
>
> On Feb 27, 2017, at 9:15 AM, mohammed shambakey <[email protected]>
> wrote:
>
> Hi
>
> Is it possible to send http request (including form data and uploaded
> files) to NIFI input port instead of "HandleHTTPRequest" processor?
>
> Regards
>
> --
> Mohammed
>
>
>


-- 
Mohammed

Reply via email to