I’m just getting started with stoplight studio (web version) an prism. I successfully designed a GET endpoint returning an XML Response and mocked that with prism. Works like a charm.
However, prism returns a:
“error”: “Unsupported Media Type”,
“message”: “Unsupported media type.”
if I set the body to application/xml in a POST request. I’ve found the following issue on github: https://github.com/stoplightio/prism/issues/380
As I understand from the issue, xml i not supported in the request body. The issue was however closed by https://github.com/stoplightio/prism/pull/381.
Finally, here is my question: Does stoplight prism support xml in the request body or not?