# Question about postman mock server - GET API call resource

**URL:** <https://community.postman.com/t/question-about-postman-mock-server-get-api-call-resource/70620>\
**Category:** Help Hub\
**Tags:** mockservers\
**Created:** [October 30, 2024, 9:27am UTC](https://community.postman.com/t/question-about-postman-mock-server-get-api-call-resource/70620 "2024-10-30T09:27:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviation-candidate-6](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@aviation-candidate-6](https://community.postman.com/u/aviation-candidate-6)\
**Post date:** [October 30, 2024, 9:27am UTC](https://community.postman.com/t/question-about-postman-mock-server-get-api-call-resource/70620/1 "2024-10-30T09:27:17Z")

</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 Team,  
My question is regarding the Postman mock api server which we have setu for our Stack. There is a GET /config API resource configured to be consumed by Frontend applications. We modify the values in the Postman resource to TEST the behaviour of the application with different cases. Usually all API request would be done by disabling the Cache-Control option in dev tools for local development work, all good till here.

Now the problem, what we have observed is when the “Disable Cache” option in dev tools is unchecked which means “Cache is Enabled” and if we modify the response object in postman and save it, how many API requests we do from frontend the mock server still serves the old response before the modification was done. It only changes when we enable the “Disable cache” option. Can someone help me in understanding what is happening in the backend here ?

---

<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:** [November 29, 2024, 9:27am UTC](https://community.postman.com/t/question-about-postman-mock-server-get-api-call-resource/70620/2 "2024-11-29T09:27:24Z")

</div>

Closed on November 29, 2024, 9:27am UTC

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