# HTTP In node, how to get the URL itself

**URL:** https://discourse.nodered.org/t/http-in-node-how-to-get-the-url-itself/12299
**Category:** General
**Created:** [16 June 2019 20:40 UTC](https://discourse.nodered.org/t/http-in-node-how-to-get-the-url-itself/12299 "2019-06-16T20:40:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xilex](https://avatars.discourse-cdn.com/v4/letter/x/f6c823/32.png) [@xilex](https://discourse.nodered.org/u/xilex)
#### Post date: [16 June 2019 20:40 UTC](https://discourse.nodered.org/t/http-in-node-how-to-get-the-url-itself/12299/1 "2019-06-16T20:40:07Z")

</div>

Hello, I set up several HTTP In nodes with different URLs, such as /check-state, /check-location, etc. Is there a variable to get this URL (ie `/check-state` or just `check-state`) so I can use it as a parameter in subsequent nodes? I know the alternative (which works) is to use URL parameters. Thank you.

---

<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: [16 June 2019 20:42 UTC](https://discourse.nodered.org/t/http-in-node-how-to-get-the-url-itself/12299/2 "2019-06-16T20:42:26Z")

</div>

It will be somewhere under `msg.req` - not near a computer to look for you

---

<div class="post-metadata">

### Author: ![xilex](https://avatars.discourse-cdn.com/v4/letter/x/f6c823/32.png) [@xilex](https://discourse.nodered.org/u/xilex)
#### Post date: [16 June 2019 20:46 UTC](https://discourse.nodered.org/t/http-in-node-how-to-get-the-url-itself/12299/3 "2019-06-16T20:46:52Z")

</div>

Thanks, will do some investigation starting there.

follow-up\>\>\> `req.url` gave me the URL.
