# Wildcard in http-in node (catch-all mode)

**URL:** https://discourse.nodered.org/t/wildcard-in-http-in-node-catch-all-mode/14852
**Category:** FAQs
**Created:** [28 August 2019 13:53 UTC](https://discourse.nodered.org/t/wildcard-in-http-in-node-catch-all-mode/14852 "2019-08-28T13:53:24Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [28 August 2019 14:00 UTC](https://discourse.nodered.org/t/wildcard-in-http-in-node-catch-all-mode/14852/2 "2019-08-28T14:00:10Z")

</div>

Have you tried setting the path field to `/subdir/*` ? That already does what you are asking for.

The only caveat is that it will not handle a request for `/subdir` - it needs the trailing `/` to match.

If you want to handle `/subdir` as well, then you can use `/subdir/?*`

---

_[View the full topic](https://discourse.nodered.org/t/wildcard-in-http-in-node-catch-all-mode/14852)._
