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.

[NIFI] : how use invokeHTTP to token and digest

Highlighted

[NIFI] : how use invokeHTTP to token and digest

New Contributor

Hi all,

I'm trying use invokeHTTP to get a digest and token from an API, here my curl command :

curl  --silent -ik --url https://${OKAPI_HOST}/oauth/access_token -H "Authorization: Bearer $(base64 -w 0 < ${KEYTAB_FILE})" -d grant_type=client_credentials --data-urlencode scope=${SCOPE}

how send parameter to invokeHTTP ? I'm thinking use updateAttribute to set scope, Authorization but it don't work.

thanks

38390-invokehttp-token.jpg

1 REPLY 1

Re: [NIFI] : how use invokeHTTP to token and digest

@mayki wogno

When using the InvokeHttp, the body of the request has to be in the content of the flow file.