Support Questions

Find answers, ask questions, and share your expertise

Nifi http

avatar

Which processor of nifi we can use , as below parameter is needed to fulfill the  api call, share me any example/reference link if available.

 

private static final String TOKEN_ID = "";
private static final String TOKEN_SECRET = "";
private static final String REST_URL = "";
private static final String CONSUMER_KEY = "";
private static final String CONSUMER_SECRET = "";
private static final String REALM = "";
private static final String CONTENT_TYPE = "Content-Type";
private static final String APP_JSON = "application/json";

4 REPLIES 4

avatar

Any suggestion !

avatar
Super Guru

@Aditya-Moghe ,

 

Would you be able to better explain what you're trying to achieve? You post is not very clear.

 

Cheers,

André

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar

I am trying to consume Rest Services for one of the ERP system. I am able to consume this with java but not sure how I will achieve in Nifi and which processor useful.

I tried Invoke HTTP processor but no success. In java I generated token with help of  TOKEN_ID and TOKEN_SECRET. Not sure how I will achieve same here

below is code snippet of java:

AdityaMoghe_1-1648210889623.png

 

 

avatar

Any suggestion ! Similar to something like ''GetTwitter" processor  looking but can't use/try this processor as not able to mentione endpoint URL.