# Challenge: Simulate API endpoints with a mock server 

**URL:** <https://community.postman.com/t/challenge-simulate-api-endpoints-with-a-mock-server/68493>\
**Category:** Help Hub\
**Tags:** mockservers\
**Created:** [September 17, 2024, 5:25am UTC](https://community.postman.com/t/challenge-simulate-api-endpoints-with-a-mock-server/68493 "2024-09-17T05:25:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![calderonjosue](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/calderonjosue/32/30150_2.png) [@calderonjosue](https://community.postman.com/u/calderonjosue)\
**Post date:** [September 17, 2024, 5:25am UTC](https://community.postman.com/t/challenge-simulate-api-endpoints-with-a-mock-server/68493/1 "2024-09-17T05:25:36Z")

</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).

Hello, I have the same problem, but I don’t see the solutions in the post.

[https://community.postman.com/t/simulate-api-endpoints-with-a-mock-server/59067/3](https://community.postman.com/t/simulate-api-endpoints-with-a-mock-server/59067/3)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [October 17, 2024, 5:26am UTC](https://community.postman.com/t/challenge-simulate-api-endpoints-with-a-mock-server/68493/2 "2024-10-17T05:26:24Z")

</div>

Closed on October 17, 2024, 5:26am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
