OPTIONs request bodies


#1

Is there any particular reason why an OPTIONs cannot have a request body specified in the RAML file?

I haven’t yet came across a spec that prohibits an OPTIONs request to have a request body.


#2

Hi @sarah_cassar, what do you mean by “cannot have a request body”. I designed the following in my API Designer w/o any error:

/resource:
  options:
    body:
      application/json:
        example: |
          { "message" : "There you go" }