# Send data (json format) to webpage node red

**URL:** <https://discourse.nodered.org/t/send-data-json-format-to-webpage-node-red/32585>\
**Category:** Dashboard\
**Created:** [8 September 2020 11:17 UTC](https://discourse.nodered.org/t/send-data-json-format-to-webpage-node-red/32585 "2020-09-08T11:17:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hassengh](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@hassengh](https://discourse.nodered.org/u/hassengh)\
**Post date:** [8 September 2020 11:17 UTC](https://discourse.nodered.org/t/send-data-json-format-to-webpage-node-red/32585/1 "2020-09-08T11:17:47Z")

</div>

Hello ,  
I want get value from devise and send on webpage json format  
I need to create a page web like there

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/8/a8af979afbc9d159b53615867fe65f2656de97e1.png)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [8 September 2020 11:30 UTC](https://discourse.nodered.org/t/send-data-json-format-to-webpage-node-red/32585/2 "2020-09-08T11:30:58Z")

</div>

Use the http request node with msg.payload as the json to send.

> from the node info page  
> If `msg.payload` is an Object, the node will automatically set the content type of the request to `application/json` and encode the body as such.

---

<div class="post-metadata">

**Author:** ![hassengh](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@hassengh](https://discourse.nodered.org/u/hassengh)\
**Post date:** [9 September 2020 13:16 UTC](https://discourse.nodered.org/t/send-data-json-format-to-webpage-node-red/32585/3 "2020-09-09T13:16:04Z")

</div>

you can send me an example ?

---

<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 September 2020 13:27 UTC](https://discourse.nodered.org/t/send-data-json-format-to-webpage-node-red/32585/4 "2020-09-09T13:27:59Z")

</div>

> [@hassengh](#):
>
> I want get value from devise

What device are you wanting to get data from?

> [@hassengh](#):
>
> and send on webpage json format

Do you mean you want the device data to be available from an endpoint like in your picture?

---

<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:** [9 October 2020 13:28 UTC](https://discourse.nodered.org/t/send-data-json-format-to-webpage-node-red/32585/5 "2020-10-09T13:28:00Z")

</div>

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