Request using x-mock-match-request-body

does the request specified in the query and the example response have to match exactly ?
I’m trying to build a mock endpoint for graphql api and seems like formatting of the request json affects how the response is matched. They need to be exact match, which is not ideal.

Hi @vahan-a

Welcome to the community :wave:

Yes! At the moment, you will need to add “x-mock-match-request-body: true” in your request headers along with the example to Body to make this work. This reference video should help you know more about the same.

If you have any feedback regarding Mocks, would encourage you to post the same here on GitHub where the requests/ bugs regarding the application are tracked.