Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need help with invoking API call request

Hi All,

 

I am totally new to Talend and Data domain and currently I am looking for something related to API call.

 

I have an API request [ POST Call ]which works fine with cURL and I need to know if the same can be invoke from Talend. Upon my search I found tRestClient, tSystem etc but not sure how to input the cURL . My cURL is something like below

 

curl -n -H "Content-Type: application/json" -H "Authorization: Bearer 5e9189348rtbadd063" -d "{ \"job_id\": \"4\"}" -X POST https://abc.net/api/2.0/create

 

Your help is appreciated.

 

Thanks

Sathya

Labels (4)
3 Replies
Anonymous
Not applicable
Author

Hello,

Could you please refer the below documentation for Talend Cloud API Designer to see if it is what you are looking for?

https://help.talend.com/reader/eWYCgI9o0W8k2edDKZ4ZAw/fSez1_DHKekEjPE1L2hflg

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi Sathya,


I do not know if you managed to resolve your issue, but what you are trying to do can be accomplished using Talend API Tester.

In API Tester, you can create a new request as explained in the gif below. In this example I'm using httpbin.org/post to test my request:

 

0683p000009M27j.gif

 

As you can see you can also copy your request in curl to compare it with what you already have.

 

I hope this helps.

 

Regards, 

 

Marc

Anonymous
Not applicable
Author

Hi,

 

Thanks for your response. Yes, I managed to resolve.

 

Thanks again for getting back to me.