I would like to ask if there is support for POST parameters in RAML . And if so, what is the syntax. I looked at spec 0.8 and spec 1.0 roughly (in fact, I am tied to 0.8 , as many tools do not yet support 1.0 ). I did not find support for POST options, but maybe I missed something.
So what can I say about POST parameters? This can be one of two (sorry, I do not know their official names, if any):
Simple HTTP parameters, key=value , each parameter in one line, for example
name=John Doe amount=5 , which is not very convenient (for example, there is no nesting)
as a JSON object, only JSON with all its syntax is allowed (the server side must parse this json); eg:
{"name":"John Doe","amount":"5"}
Various server-side API implementations use either 1st or 2nd. Anyway, how does RAML support?
ducin source share