# How to do multiple http get request for every 10 seconds without inject node

**URL:** <https://discourse.nodered.org/t/how-to-do-multiple-http-get-request-for-every-10-seconds-without-inject-node/49748>\
**Category:** General\
**Tags:** http-request\
**Created:** [15 August 2021 14:34 UTC](https://discourse.nodered.org/t/how-to-do-multiple-http-get-request-for-every-10-seconds-without-inject-node/49748 "2021-08-15T14:34:17Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [20 August 2021 19:42 UTC](https://discourse.nodered.org/t/how-to-do-multiple-http-get-request-for-every-10-seconds-without-inject-node/49748/14 "2021-08-20T19:42:40Z")

</div>

The `http request` node (and many others) can be configured with a blank url -- then, if the incoming `msg` contains a `url` field, it will be used in the http request. A good example of how to do it is in [this thread](https://discourse.nodered.org/t/injecting-messages-on-a-specific-node-for-building-approval-workflows/32640/12)

So I would suggest that your subflow includes a `change` node upstream of the http request node, which builds the target string and a sets it on the `msg.url` field. The only thing I'm not sure about is how to get the current subflow's id inside a `change` node... but if that's not available, just use another env var, maybe?

---

_[View the full topic](https://discourse.nodered.org/t/how-to-do-multiple-http-get-request-for-every-10-seconds-without-inject-node/49748)._
