# Is it possible to make a mock service emulating async microservice?

**URL:** <https://community.postman.com/t/is-it-possible-to-make-a-mock-service-emulating-async-microservice/34689>\
**Category:** Help Hub\
**Tags:** mockservers\
**Created:** [April 22, 2022, 10:32am UTC](https://community.postman.com/t/is-it-possible-to-make-a-mock-service-emulating-async-microservice/34689 "2022-04-22T10:32:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlikhacheva](https://avatars.discourse-cdn.com/v4/letter/t/898d66/32.png) [@tlikhacheva](https://community.postman.com/u/tlikhacheva)\
**Post date:** [April 22, 2022, 10:32am UTC](https://community.postman.com/t/is-it-possible-to-make-a-mock-service-emulating-async-microservice/34689/1 "2022-04-22T10:32:43Z")

</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!

Could you help me, please.  
I need to make a mock? that will recieve request with parameter “replyToUrl”, give a sync answer (empty body, 202 status code), than invoke new request with some predefined body with endpoint = “replyToUrl”.  
Is it possible to make such mock server in Postman?

I did’t find any useful information in [Get started in Postman | Postman Docs](https://learning.postman.com/docs)

Thanks
