Need help with invoking API call request

Highlighted
Four Stars

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

Highlighted
Moderator

Re: Need help with invoking API call request

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

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Employee

Re: Need help with invoking API call request

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:

 

CURL.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

Highlighted
Four Stars

Re: Need help with invoking API call request

Hi,

 

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

 

Thanks again for getting back to me.

 

 

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read