# HTTP Request pending at requesting

**URL:** <https://discourse.nodered.org/t/http-request-pending-at-requesting/95245>\
**Category:** General\
**Created:** [8 February 2025 12:58 UTC](https://discourse.nodered.org/t/http-request-pending-at-requesting/95245 "2025-02-08T12:58:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yusufscelik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yusufscelik/32/98689_2.png) [@yusufscelik](https://discourse.nodered.org/u/yusufscelik)\
**Post date:** [8 February 2025 12:58 UTC](https://discourse.nodered.org/t/http-request-pending-at-requesting/95245/1 "2025-02-08T12:58:12Z")

</div>

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/1/41cd8e1efb3a624eecce1bdc693e79a0a004814d.png)  
Hello i am trying to get the data from static file which i can access via using http request but it stucks at anfordernd "pending" in english. Sometimes i become no response from server.  
I cann access the data using the link and file name.  
 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/e/1ea36193e1b0f9fd2cfa0e03c9697093611c0333.png)

HTTP Request Node looks like this;

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f74d4649be1680d478ba986114d3eb7b3ee5a70c.png)

I want to know what i am doing false?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [8 February 2025 13:54 UTC](https://discourse.nodered.org/t/http-request-pending-at-requesting/95245/2 "2025-02-08T13:54:43Z")

</div>

Try setting it to NOT parse the response to JSON (its HTML/string data)

PS, is the only reason you setup `httpStatic` so that you can access local files inside node-red? because you could simply use a `file` read node instead.

---

<div class="post-metadata">

**Author:** ![yusufscelik](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yusufscelik/32/98689_2.png) [@yusufscelik](https://discourse.nodered.org/u/yusufscelik)\
**Post date:** [8 February 2025 21:30 UTC](https://discourse.nodered.org/t/http-request-pending-at-requesting/95245/3 "2025-02-08T21:30:06Z")

</div>

okay thanks. in which scenario should we use then httpstatic?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [9 February 2025 09:10 UTC](https://discourse.nodered.org/t/http-request-pending-at-requesting/95245/4 "2025-02-09T09:10:29Z")

</div>

> [@yusufscelik](#):
>
> in which scenario should we use then httpstatic

When you want to serve static content to other things (typically browsers)

If you just want to read files from the same file system where Node-RED exists, then use the file 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:** [23 February 2025 09:10 UTC](https://discourse.nodered.org/t/http-request-pending-at-requesting/95245/5 "2025-02-23T09:10:54Z")

</div>

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