Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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


sampleJob.PNG

View solution in original post

4 Replies
Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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


sampleJob.PNG
Anonymous
Not applicable
Author

Hi Abhishek,

 

I am facing the same problem, I need to send a body in a POST request.

 

I have passed the body as document type in the input row to tRestClient component, but it didn't do anything. Please have a look the attached screenshots.

 

The screenshot you provided does not even have a tRestClient component.

 

Please Help!

 

0683p000009Lso7.png
0683p000009LsoC.png

Anonymous
Not applicable
Author

Hi!


I've the same problem, could you resolve the issue and send the body?

Thkx