Support Questions

Find answers, ask questions, and share your expertise

How to send an http POST application/x-www-form-urlencoded request using Apache-nifi's processor?

avatar
New Contributor

I need to convert the the request with Apache-nifi, can you help me how to do that?

 

curl --location --request POST 'https://localhost:8080/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=xxxxxxxx' \
--data-urlencode 'client_secret=yyyyyyyy' \
--data-urlencode 'type=EEEEEEEEEEE' \
--data-urlencode 'scope=ZZZZZZ'

 

 Thank for your help!!

1 ACCEPTED SOLUTION

avatar
Super Guru
2 REPLIES 2

avatar
Community Manager

@Dataengineer1 Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our NiFi experts @SAMSAL and @cotopaul  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Super Guru