Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
I have imported a OpenAPI/YAML API and trying to create a mock POST request but continue to get a 400 Bad Request error “The request cannot be fulfilled due to bad syntax”. My body for the Post objects appears fine.
Sue - I was actually trying to create the Post example and got this error. I have GET examples created and working. Perhaps I am not clear on how to create a POST example?
The process should be the same, if you’re able to screengrab the post example that might help - I would maybe also check the request headers in the example e.g. content type etc as I believe this can cause a bad request error…
These are our docs on creating examples but essentially you want to hit the Examples drop-down at the top right of the request builder and add one with the config you want to match: