# How to send messages to a broker via mqtt

**URL:** <https://discourse.nodered.org/t/how-to-send-messages-to-a-broker-via-mqtt/44651>\
**Category:** General\
**Created:** [24 April 2021 09:55 UTC](https://discourse.nodered.org/t/how-to-send-messages-to-a-broker-via-mqtt/44651 "2021-04-24T09:55:48Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [25 April 2021 11:18 UTC](https://discourse.nodered.org/t/how-to-send-messages-to-a-broker-via-mqtt/44651/23 "2021-04-25T11:18:20Z")

</div>

That's great you can see the data, now can you do as @colin asked and show it to us?  
It would be helpfup if you posted an export of your flow since no one but you can see it.

In order to make code more readable and importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-send-messages-to-a-broker-via-mqtt/44651)._
