Support Questions

Find answers, ask questions, and share your expertise

NiFi - Need help with HandleHttp processors

Explorer

I want to handle custom http request with response. Response should be a content from given file. I'm using FetchFile But it's not working.

Connecting to 10.102.0.216:8082... connected. HTTP request sent, awaiting response... That's it. Port and IP is correct. Here is my Flow:

17405-http-response-flow.png

2 REPLIES 2

Contributor

Are you receiving errors on the bulletins for HandleHttpRequest or Response?

Could you specify how the desired file is being mapped from your request to the Fetch File processor? Configuration of your processors or a template would be most helpful.

Thanks!

Explorer

I want to make webservice using NiFi,

so for example request http://localhost:8085/

will return file content to user (for example in JSON format). Template attached. Thanks for helping. httpservice.xml