Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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:
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
Hi,
Thanks for your response. Yes, I managed to resolve.
Thanks again for getting back to me.