# Mock Server and multiple wildcards

**URL:** <https://community.postman.com/t/mock-server-and-multiple-wildcards/29355>\
**Category:** Help Hub\
**Tags:** mockservers\
**Created:** [November 3, 2021, 9:39am UTC](https://community.postman.com/t/mock-server-and-multiple-wildcards/29355 "2021-11-03T09:39:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlingelsache](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@mlingelsache](https://community.postman.com/u/mlingelsache)\
**Post date:** [November 3, 2021, 9:39am UTC](https://community.postman.com/t/mock-server-and-multiple-wildcards/29355/1 "2021-11-03T09:39:31Z")

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

**_My question_:**

Is it possible to have multiple wildcards in one URI, save them and use them in a response?

**_I’ve already tried_:**

_Sample request:_  
{{url}}/foo-service/{{product}}/{{brand}}/new

_Expected response:_  
{  
“newId”: “{{$randomUUID}}”,  
“product”: “{{product}}”,  
“brand”: “{{brand}}”  
}

_Actual response:_

{  
“error”: {  
“name”: “mockRequestNotFoundError”,  
“message”: “Double check your method and the request path and try again.”,  
“header”: “No matching requests”  
}  
}
