# Simple http client using javascript and html (and node)

**URL:** <https://forum.bondhome.io/t/simple-http-client-using-javascript-and-html-and-node/3436>\
**Category:** Uncategorized\
**Created:** [August 3, 2022, 2:37pm UTC](https://forum.bondhome.io/t/simple-http-client-using-javascript-and-html-and-node/3436 "2022-08-03T14:37:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evengers](https://avatars.discourse-cdn.com/v4/letter/e/d26b3c/32.png) [@Evengers](https://forum.bondhome.io/u/Evengers)\
**Post date:** [August 3, 2022, 2:37pm UTC](https://forum.bondhome.io/t/simple-http-client-using-javascript-and-html-and-node/3436/1 "2022-08-03T14:37:52Z")

</div>

I wanted a very simple awning control for my iPhone and iPad that mimics my remote.

I’ve put some sample javascript code here:

> **[GitHub - evengers/bond2somfy](https://github.com/evengers/bond2somfy)**
>
> Contribute to evengers/bond2somfy development by creating an account on GitHub.

Would very much like hints on how to improve the approach and get around the CORS issue.

Thanks
