Documentation on POST operation on TRestRequest

One Star

Documentation on POST operation on TRestRequest

Hi,
I am a beginner in Talend Open Studio for ESB 5.6.0, I didn't found any documentation on how can i create a REST api to POST data.
Can anyone suggest me some example on same.
Thanks,
Ismail 
One Star

Re: Documentation on POST operation on TRestRequest

Hi, it is nearly the same as with GET:
but indeed it would help if the POST example was provided. Set a method to POST, and configure the URI and query parameters as with GET.
You have a POST form payload then simply add few parameters in the schema editor and a 'form' in Comments, if it is something else and it is Document or String then add a 'body' parameter of type Document or String
HTH, Sergey
One Star

Re: Documentation on POST operation on TRestRequest

Hi, it is nearly the same as with GET:
but indeed it would help if the POST example was provided. Set a method to POST, and configure the URI and query parameters as with GET.
You have a POST form payload then simply add few parameters in the schema editor and a 'form' in Comments, if it is something else and it is Document or String then add a 'body' parameter of type Document or String
HTH, Sergey

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch 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