# Mock server request body

**URL:** <https://community.postman.com/t/mock-server-request-body/39832>\
**Category:** Help Hub\
**Tags:** mockservers\
**Created:** [October 6, 2022, 1:52pm UTC](https://community.postman.com/t/mock-server-request-body/39832 "2022-10-06T13:52:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![robsay](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@robsay](https://community.postman.com/u/robsay)\
**Post date:** [October 6, 2022, 1:52pm UTC](https://community.postman.com/t/mock-server-request-body/39832/1 "2022-10-06T13:52:50Z")

</div>

> **Archived topic — some details may be out of date.**  
> Mock servers built from saved collection examples are still supported. Postman now also has **code-based mocks** : JavaScript request handlers plus a `config.yaml`, stored as files in your Git repository, which you can run locally or deploy. Create one in the app, or use the Postman CLI to generate one from an OpenAPI spec, collection or dataset (`postman mock generate`) and run it (`postman mock run`). See [About mocks](https://learning.postman.com/docs/design-apis/mock-apis/mocks/overview) and [Create a mock](https://learning.postman.com/docs/design-apis/mock-apis/mocks/create-a-mock).  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) can build and run mocks for you.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hi,

How is it possible see the raw content of a request coming in to the mock server?

It seem the Mock Server Log is formatting the request in the GUI and I haven’t found a way to see the raw text that comes in, any help is appreciated.

_Details (like screenshots)_:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/9/a/9a61ccc4c6c431c1b968fec21356fb5ddb6f2aba.png)

---

<div class="post-metadata">

**Author:** ![folkstechinc](https://avatars.discourse-cdn.com/v4/letter/f/a87d85/32.png) [@folkstechinc](https://community.postman.com/u/folkstechinc)\
**Post date:** [May 13, 2023, 4:10pm UTC](https://community.postman.com/t/mock-server-request-body/39832/2 "2023-05-13T16:10:33Z")

</div>

Having same problem? Any updates on this?

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [May 15, 2023, 9:17am UTC](https://community.postman.com/t/mock-server-request-body/39832/3 "2023-05-15T09:17:24Z")

</div>

@folkstechinc

What are you sending to the mock, and how do you think its different?

Screenshots please of request\response so we can better understand the issue.

I’m not aware that the request is formatted in any shape or form, but the mock does have rules on what is returned (if you have multiple examples and the request is not an exact match).

What is the actual issue here?
