Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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