# Slash (/) in http in params?

**URL:** https://discourse.nodered.org/t/slash-in-http-in-params/22066
**Category:** General
**Created:** [21 February 2020 17:14 UTC](https://discourse.nodered.org/t/slash-in-http-in-params/22066 "2020-02-21T17:14:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![RobP](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@RobP](https://discourse.nodered.org/u/RobP)
#### Post date: [21 February 2020 17:14 UTC](https://discourse.nodered.org/t/slash-in-http-in-params/22066/1 "2020-02-21T17:14:14Z")

</div>

I know I can setup a http in node like /api/:name and whatever is provided after api/ I can find in msg.req.params.name.

However, this does not work in name contains a slash, like name/me.

I see that in Express I can use name(.\*) according to one web site, but is there a way to do this in Node Red?

(I want to avoid created 100 http in nodes for all possible urls, since I'm just passing these urls to another service so don't need to treat each differently)

Thanks in advance.

---

<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: [21 February 2020 17:38 UTC](https://discourse.nodered.org/t/slash-in-http-in-params/22066/2 "2020-02-21T17:38:37Z")

</div>

Have you tried `name(.*)` ?

I can't remember if that's precisely the right syntax, but you can use pretty much any valid express path definition in the http in node.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [21 April 2020 17:38 UTC](https://discourse.nodered.org/t/slash-in-http-in-params/22066/3 "2020-04-21T17:38:45Z")

</div>

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