Example of Body in Restservice

1
Is there a possibility to present the consumer of our POST rest-webservice with a sample of the body? This to inform them about it's form.
asked
2 answers
7

Yes you can in beautiful markdown language at https://<yourappurl>/rest-doc/ :)

It's currently only possible at the operation level (and resource level) in the configuration of your REST service.

my example:

Use markdown to format it correctly!

 

 

In my opinion it should be documented at the responses (instead of "succesful operation" ) but that is not currently possible.

answered
1

Do you mean something like the information that you can find in the rest doc of your app: http://yourapp.com/rest-doc/

https://docs.mendix.com/refguide/published-rest-services

answered