# Async getting list for node config

**URL:** <https://discourse.nodered.org/t/async-getting-list-for-node-config/57506>\
**Category:** Developing Nodes\
**Created:** [30 January 2022 14:34 UTC](https://discourse.nodered.org/t/async-getting-list-for-node-config/57506 "2022-01-30T14:34:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thib3113](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thib3113/32/55033_2.png) [@thib3113](https://discourse.nodered.org/u/thib3113)\
**Post date:** [30 January 2022 14:34 UTC](https://discourse.nodered.org/t/async-getting-list-for-node-config/57506/1 "2022-01-30T14:34:48Z")

</div>

Hello,

I'm pretty new with the developpement of nodes, but I didnt found my answer .

In fact, I'm searching a way to fill a config list, with dynamics items, coming from my node .

So, I'm searching a way to contact my node ? I saw we can use `/inject/<id>` to send an input, but not sure if it's the correct way to do this (because I want a return, and not send a message in the flow), and I didn't find where this is documented to check if I can get another endpoints ...

Did you have any idea ?

Thanks

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [30 January 2022 16:55 UTC](https://discourse.nodered.org/t/async-getting-list-for-node-config/57506/2 "2022-01-30T16:55:54Z")

</div>

THe correct way to do this is to create an API endpoint in your node and call that from the Editor panel for the node.

Check out the serial-in node or uibuilder for examples.

---

<div class="post-metadata">

**Author:** ![thib3113](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thib3113/32/55033_2.png) [@thib3113](https://discourse.nodered.org/u/thib3113)\
**Post date:** [30 January 2022 17:37 UTC](https://discourse.nodered.org/t/async-getting-list-for-node-config/57506/3 "2022-01-30T17:37:01Z")

</div>

serial in ? this one [node-red-node-serialport](https://flows.nodered.org/node/node-red-node-serialport) ?

---

<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:** [30 January 2022 18:19 UTC](https://discourse.nodered.org/t/async-getting-list-for-node-config/57506/4 "2022-01-30T18:19:11Z")

</div>

Yes, as in this is the endpoint (Julian was talking about) : [node-red-nodes/25-serial.js at 5c333db0ddb445442a998452e7c55e89b81e08da · node-red/node-red-nodes · GitHub](https://github.com/node-red/node-red-nodes/blob/5c333db0ddb445442a998452e7c55e89b81e08da/io/serialport/25-serial.js#L489)

that is called from the client side like this: [node-red-nodes/25-serial.html at 5c333db0ddb445442a998452e7c55e89b81e08da · node-red/node-red-nodes · GitHub](https://github.com/node-red/node-red-nodes/blob/5c333db0ddb445442a998452e7c55e89b81e08da/io/serialport/25-serial.html#L342)

---

<div class="post-metadata">

**Author:** ![thib3113](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/thib3113/32/55033_2.png) [@thib3113](https://discourse.nodered.org/u/thib3113)\
**Post date:** [30 January 2022 18:36 UTC](https://discourse.nodered.org/t/async-getting-list-for-node-config/57506/5 "2022-01-30T18:36:27Z")

</div>

yes, ok ... I will test it 🙂 . Thank you

---

<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:** [13 February 2022 18:37 UTC](https://discourse.nodered.org/t/async-getting-list-for-node-config/57506/6 "2022-02-13T18:37:28Z")

</div>

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