# Http requests on lan +json live tester?

**URL:** <https://community.homey.app/t/http-requests-on-lan-json-live-tester/50275>\
**Category:** Developers\
**Created:** [August 10, 2021, 7:39am UTC](https://community.homey.app/t/http-requests-on-lan-json-live-tester/50275 "2021-08-10T07:39:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mattrix/32/17475_2.png) [@mattrix](https://community.homey.app/u/mattrix)\
**Post date:** [August 10, 2021, 7:39am UTC](https://community.homey.app/t/http-requests-on-lan-json-live-tester/50275/1 "2021-08-10T07:39:58Z")

</div>

Hello again here,

I am wanting to use a virtual button to stop or start my hvac.  
The API of the hvac seems very simple or i am wrong ?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/d/6d869b413bdcec36db0eebb5b16d09b548a59b0b.jpeg)

My question is :  
If it is as easy as starting a webrequest to remote control my connected hvac device, then how do i test that code ?  
[http://XXX.XXX.XXX.XX:3000/api/v1/hvac](http://XXX.XXX.XXX.XX:3000/api/v1/hvac)

With the following body  
{  
“systemID”: n (system number),  
“zoneID”: m (zone number)  
}

?

---

<div class="post-metadata">

**Author:** ![martijnpoppen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijnpoppen/32/84849_2.png) [@martijnpoppen](https://community.homey.app/u/martijnpoppen)\
**Post date:** [August 12, 2021, 4:09pm UTC](https://community.homey.app/t/http-requests-on-lan-json-live-tester/50275/2 "2021-08-12T16:09:38Z")

</div>

Hey @mattrix ,  
You might want to checkout Postman.  
Really useful for testing API requests.

[https://www.postman.com/](https://www.postman.com/)

For Body use `raw` and make sure to select `JSON` (blue dropdown); Also make sure to use proper double quotes like these: `"`

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ce535b5f911cb745356e42d482934533ca0b7aaa.png)

When this works you can do a webhook trigger from a Homey flow. You can find it inside `Logic`

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/5/e562bb15f9b9b8b8c9fabe45170c4a2f114cc375.png)
