Display incoming request body to Postman Mock

Hello :slight_smile:

I’ve created a Postman Mock for testing purposes and I am sending data to that Mock Server using POST requests.

That all works perfectly. I am getting different responses according to the route I sent my data to. My problem is, that I don’t know, if that data is json formatted like I want it to be.
Besides I would like to send different responses depending on the data I sent, not the route on my Mock. Is this even possible?

More important for me would be to see what I’ve sent to the Postman Mock, just to check whether its json formatted or not.

Here is an example:
(pseudo code)
send(mock-url, "hello");
will create the same response like
send(mock-url, {"name": "Dave","age": 12});

Thanks in advance. :slight_smile:

Kind regards,
Soxxes

You should be able to see the Request Body in the Mock Server Call Log of your Mock server tab.