# Javascript function block help

**URL:** https://discourse.nodered.org/t/javascript-function-block-help/50618
**Category:** General
**Created:** [4 September 2021 19:30 UTC](https://discourse.nodered.org/t/javascript-function-block-help/50618 "2021-09-04T19:30:28Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)
#### Post date: [4 September 2021 21:13 UTC](https://discourse.nodered.org/t/javascript-function-block-help/50618/4 "2021-09-04T21:13:40Z")

</div>

Isn't this topic about the same thing as your previous one? You started to ask the question there.

> [@UI scheduler node for different json payloads on HTTP requests](https://discourse.nodered.org/t/ui-scheduler-node-for-different-json-payloads-on-http-requests/50617):
>
> Can someone give me a tip on how to incorporate using the UI scheduler node to send out different different JSON payloads that get rolled into the body of an HTTP GET requests? The equipment that I am scheduling through ui scheduler handles rest API. For example when UI scheduler node is True from the schedule or the slider I need this JSON payload to start a motor: { "address": "12345:2", "object\_type": "analogValue", "object\_instance": "302", "value": "100", "priority": …

---

_[View the full topic](https://discourse.nodered.org/t/javascript-function-block-help/50618)._
