# HTTP Request Node URL parameter

**URL:** <https://community.n8n.io/t/http-request-node-url-parameter/8866>\
**Category:** Questions\
**Created:** [November 3, 2021, 10:53am UTC](https://community.n8n.io/t/http-request-node-url-parameter/8866 "2021-11-03T10:53:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![backherozzo](https://avatars.discourse-cdn.com/v4/letter/b/f9ae1b/32.png) [@backherozzo](https://community.n8n.io/u/backherozzo)\
**Post date:** [November 3, 2021, 10:53am UTC](https://community.n8n.io/t/http-request-node-url-parameter/8866/1 "2021-11-03T10:53:46Z")

</div>

Hi, I’m trying to configure the n8n HTTP Request Node to do a GET request like this [https://hostname.api.test.com/api/Elements?LastSeen={LastSeen}](https://hostname.api.test.com/api/Elements?LastSeen=%7BLastSeen%7D). How I can indicated the URI parameter {LastSeen}? Thank

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [November 3, 2021, 11:00am UTC](https://community.n8n.io/t/http-request-node-url-parameter/8866/2 "2021-11-03T11:00:42Z")

</div>

Hey @backherozzo,

In theory all you need to do is…

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/4/47b37a97f030ff8eca2a6e6705d1750ce3c46759.png)

So you would add a parameter to the bottom with the name you are after and set the value to whatever you want, It can even be something from a previous node in your workflow.

---

<div class="post-metadata">

**Author:** ![backherozzo](https://avatars.discourse-cdn.com/v4/letter/b/f9ae1b/32.png) [@backherozzo](https://community.n8n.io/u/backherozzo)\
**Post date:** [November 3, 2021, 4:32pm UTC](https://community.n8n.io/t/http-request-node-url-parameter/8866/3 "2021-11-03T16:32:02Z")

</div>

Hi, thank you for your quick reply I’ve done several tests and can’t find a way to pass it as a URL parameter. If I make the URL request by putting the parameter directly in the n8n field URL: (example [https://hostname.api.test.com/api/Elements?LastSeen=2021-11-02](https://hostname.api.test.com/api/Elements?LastSeen=2021-11-02)) on this case works but I need to manage the LasSeen dynamically because this will be an update date request every 10 minuts. I tried to insert in the n8n URL: field [https://hostname.api.test.com/api/Elements?LastSeen={LastSeen}](https://hostname.api.test.com/api/Elements?LastSeen=%7BLastSeen%7D) and on the Query Parameter the LastSeen (2021-11-02) and value but it does not work. Do you have any suggestions for me?

---

<div class="post-metadata">

**Author:** ![maxT](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/maxt/32/31233_2.png) [@maxT](https://community.n8n.io/u/maxT)\
**Post date:** [November 3, 2021, 4:47pm UTC](https://community.n8n.io/t/http-request-node-url-parameter/8866/4 "2021-11-03T16:47:38Z")

</div>

You can do this with n8n expressions - specifically, an expression set on the HTTP Request’s “URL” parameter. See this workflow example below:

In the example, the “Set” node is simply a placeholder to show how you’d use data from previous node within the HTTP Request
