Five Stars

tRestClient: how to set body in POST request

How do I set body request in tRestClient similar to what I can do in tRest? I can't edit "Input Schema". It just says "body" is type Document but it's read only. If I switch it back and forth to Repository, it becomes empty but still Read Only.

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: tRestClient: how to set body in POST request

Hi dnaboka,

In case of get you can set it in query parameters but for post request  you have to pass the body (type -> document) as an input row to the tRestClient component.

 

 

Best Regards,

Abhishek

2 REPLIES
Five Stars

Re: tRestClient: how to set body in POST request

It's quite straightforward in tRest and a basic feature of any web services client. What am I missing here?

Six Stars

Re: tRestClient: how to set body in POST request

Hi dnaboka,

In case of get you can set it in query parameters but for post request  you have to pass the body (type -> document) as an input row to the tRestClient component.

 

 

Best Regards,

Abhishek