Support Questions
Find answers, ask questions, and share your expertise

How to use invoke http to perform GET request in nifi?

How to use invoke http to perform GET request in nifi?

New Contributor

Hello,

I need to perform a get request from nifi to couchbase. The curl command is:

curl http://HOST:PORT/query/service -d "statement=select item.Date from bucket unnest bucket as item" -u USER:PASSWORD

I tried using InvokeHttp and ExecuteStreamCommand but it keeps returning errors(status code 400). It's important to say that I prefer that the http request will be triggerd by an incoming flowfile.

Thanks for the help

Don't have an account?