# How do I send text to website and getting approval back? Boron

**URL:** <https://community.particle.io/t/how-do-i-send-text-to-website-and-getting-approval-back-boron/64241>\
**Category:** Brainstorming\
**Tags:** boron\
**Created:** [March 24, 2023, 9:23pm UTC](https://community.particle.io/t/how-do-i-send-text-to-website-and-getting-approval-back-boron/64241 "2023-03-24T21:23:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanJow](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@DanJow](https://community.particle.io/u/DanJow)\
**Post date:** [March 24, 2023, 9:23pm UTC](https://community.particle.io/t/how-do-i-send-text-to-website-and-getting-approval-back-boron/64241/1 "2023-03-24T21:23:34Z")

</div>

A Boron sends a text string to a website and the website sends ‘Approved’ or ‘Denied’ back.

What’s the best way to do this on the boron side, the httpclient library?

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [March 25, 2023, 10:23am UTC](https://community.particle.io/t/how-do-i-send-text-to-website-and-getting-approval-back-boron/64241/2 "2023-03-25T10:23:39Z")

</div>

The HTTP client is not recommended because it does not support https and would not be secure.

The best option is to use a webhook. The device can subscribe the response to the webhook to indicate success or failure. It’s recommended that if possible the approved or denied be sent in the body of the response and to always return a 200 OK response instead of returning a denied response at the HTTP error code level.

---

<div class="post-metadata">

**Author:** ![DanJow](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@DanJow](https://community.particle.io/u/DanJow)\
**Post date:** [March 29, 2023, 3:37pm UTC](https://community.particle.io/t/how-do-i-send-text-to-website-and-getting-approval-back-boron/64241/3 "2023-03-29T15:37:32Z")

</div>

I don’t think I asked the right question. I’ll make a new post.
