# How to access HTTP params in script node

**URL:** https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183
**Category:** Support Request
**Tags:** neutrinos-ssd
**Created:** [September 2, 2025, 4:33pm UTC](https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183 "2025-09-02T16:33:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![JeevanKumar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@JeevanKumar](https://community.neutrinos.com/u/JeevanKumar)
#### Post date: [September 2, 2025, 4:33pm UTC](https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183/1 "2025-09-02T16:33:43Z")

</div>

GET | api/books/{isbn}  
to create this api ,

 ![Screenshot 2025-09-02 at 9.55.47 PM](https://community.neutrinos.com/uploads/default/original/1X/ce73648bf57c9bc3d03d1a5ab9b38d3f87590c25.png)

logging the bh.input from script node gives,

 ![Screenshot 2025-09-02 at 9.57.43 PM](https://community.neutrinos.com/uploads/default/original/1X/47df23b7c9dee362013f3fe62616dfa020b5e102.png)

I am giving isbn as params.

it works in query :

 ![Screenshot 2025-09-02 at 9.57.22 PM](https://community.neutrinos.com/uploads/default/original/1X/3c49b1f9ed5986ad20126336fae3494ea8ac60a4.png)

How can I access params ?. Is there any way to directly add isbn to the url in here :

 ![Screenshot 2025-09-02 at 10.01.37 PM](https://community.neutrinos.com/uploads/default/original/1X/6175e586553d9fd84593710591c36c3ff344fa82.png)

---

<div class="post-metadata">

### Author: ![Hariharan\_J](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/h/fbc32d/32.png) [@Hariharan\_J](https://community.neutrinos.com/u/Hariharan_J)
#### Post date: [September 2, 2025, 6:31pm UTC](https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183/2 "2025-09-02T18:31:42Z")

</div>

Hi @JeevanKumar , if you want to read params value, use bh.input.params / query/body based on what you configured in your Http IN Node. For example here:

 ![image](https://community.neutrinos.com/uploads/default/original/1X/9439114bce20e42345d2b7dbe06ac367290a5d7c.png)

based on what type you used you will get the value in bh.input object.  
And if you want to use that value and call an api, Please find the below sample code:

bh.local.openLibraryUrl = `${yourBaseUrl}/${bh.input.query.isbn}`;

and now use bh.local.openLibraryUrl as url in HTTP request node and you will call the get api with the desired input value.

---

<div class="post-metadata">

### Author: ![JeevanKumar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@JeevanKumar](https://community.neutrinos.com/u/JeevanKumar)
#### Post date: [September 2, 2025, 7:26pm UTC](https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183/3 "2025-09-02T19:26:58Z")

</div>

Thank you @Hariharan_J  
But That I Checked,  
when I change to query, it works properly and in script node I am able access it. but when selecting path as type in HTTP in, api call from postman is not even reaches the server,  
[http://localhost:8081/api/books/sdlfas](http://localhost:8081/api/books/sdlfas)

 ![Screenshot 2025-09-03 at 12.45.05 AM](https://community.neutrinos.com/uploads/default/original/1X/32a0a508c3d1d8703e008468bb6006afba81399a.png)  
But same end point is working when calling form swagger :  
 ![Screenshot 2025-09-03 at 12.50.06 AM](https://community.neutrinos.com/uploads/default/original/1X/154ccd5b3747e3062b5a7c487a55b5b381fc01f6.png)  
it enters the server and logs the bh.input from script node.  
🤓 removed all same path routes to avoid conflict with method but still path is not working

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [September 2, 2025, 9:03pm UTC](https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183/4 "2025-09-02T21:03:54Z")

</div>

Hi @JeevanKumar,

To specify the path properly in the endpoint try /books/:isbn .  
Please see the attached screenshot for better reference and the is a link below that could help you.  
Then you should be able to the see the params on your logs.

 ![image](https://community.neutrinos.com/uploads/default/original/1X/dac40d630ee80253db28623211ed554b8f77f75b.png)  
 ![image](https://community.neutrinos.com/uploads/default/original/1X/4dd70bfbbce5cf2fbc35b23420711625fabaa5e4.png)  
[HTTP In node](https://documentation.neutrinos.com/articles/#!server-services-designer-8/http-in/q/params%2520and%2520query/qid/13726/qp/3)

---

<div class="post-metadata">

### Author: ![JeevanKumar](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@JeevanKumar](https://community.neutrinos.com/u/JeevanKumar)
#### Post date: [September 3, 2025, 5:49am UTC](https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183/5 "2025-09-03T05:49:59Z")

</div>

Thank you @Simphiwe it worked.  
I need help to understand this :  
Adding parameters in HTTP In node is only for swagger documentation.

because without api…/:id we can test the api from swagger (by only giving parameter type path).

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [September 3, 2025, 5:59am UTC](https://community.neutrinos.com/t/how-to-access-http-params-in-script-node/1183/6 "2025-09-03T05:59:39Z")

</div>

Hi @JeevanKumar,

So, adding parameters on studio it is required for that input field for params/path to show since you can’t add your value params on your URL in swagger UI like **/12** if your variable parts of a URL path is **/:id**.  
And adding /:id makes your url to expect paths even if you not using swagger UI.
