# How to send request-response from mender server to device

**URL:** <https://hub.mender.io/t/how-to-send-request-response-from-mender-server-to-device/7242>\
**Category:** General Discussions\
**Tags:** mender-connect, deviceconnect\
**Created:** [October 17, 2024, 6:38pm UTC](https://hub.mender.io/t/how-to-send-request-response-from-mender-server-to-device/7242 "2024-10-17T18:38:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rabbyt](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@rabbyt](https://hub.mender.io/u/rabbyt)\
**Post date:** [October 17, 2024, 6:38pm UTC](https://hub.mender.io/t/how-to-send-request-response-from-mender-server-to-device/7242/1 "2024-10-17T18:38:08Z")

</div>

Hi, i am wondering if there is a way how to send JSON data by http or anything from server to a specific device. i am guessing that can be done through deviceconnect service bud I didn’t find any topic about that. thanks in advance.

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 18, 2024, 12:28pm UTC](https://hub.mender.io/t/how-to-send-request-response-from-mender-server-to-device/7242/2 "2024-10-18T12:28:48Z")

</div>

Hi @rabbyt,

There’s no, lets say “immediate” way to do it, other than creating an artifact which contains the JSON payload and deploying it to the specific device.  
Depending on the exact use case, [Configure AddOn](https://docs.mender.io/add-ons/configure) might be suitable. Other than that, the next stage would be automating something around the Troubleshoot AddOn functionality, but that also is not exactly an elegant solution.

So in a nutshell: automating via custom Update Module and a deployment to the specific device is probably the way to go.

Greetz,  
Josef
