# Help to get this to Http request

**URL:** <https://community.homey.app/t/help-to-get-this-to-http-request/91360>\
**Category:** Questions & Help\
**Created:** [October 9, 2023, 2:13pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360 "2023-10-09T14:13:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kattlukt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kattlukt/32/57127_2.png) [@Kattlukt](https://community.homey.app/u/Kattlukt)\
**Post date:** [October 9, 2023, 2:13pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360/1 "2023-10-09T14:13:38Z")

</div>

Hi!

I have a ventilation system that has a local web interface(192.168.0.71). When i press a button in that web interface the fan is forced to go on high for two hours.  
I have located the code that is used for that and it looks like this:  
{$.post(REQUEST\_ADDR,GetPostStr([[40202,2]])

Can this one be used with the HTTP Request app or something else?  
//K

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 9, 2023, 2:21pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360/2 "2023-10-09T14:21:07Z")

</div>

You can possibly use the built-in Logic card “Make a METHOD request”, but it’s unclear what `GetPostStr()` does, so please provide a link to the code.

---

<div class="post-metadata">

**Author:** ![Kattlukt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kattlukt/32/57127_2.png) [@Kattlukt](https://community.homey.app/u/Kattlukt)\
**Post date:** [October 9, 2023, 3:16pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360/3 "2023-10-09T15:16:58Z")

</div>

[https://drive.google.com/file/d/1YwxdoEq-zbfDjY4hHFBfC7y7Mq7jtY-u/view?usp=drivesdk](https://drive.google.com/file/d/1YwxdoEq-zbfDjY4hHFBfC7y7Mq7jtY-u/view?usp=drivesdk)

---

<div class="post-metadata">

**Author:** ![Kattlukt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kattlukt/32/57127_2.png) [@Kattlukt](https://community.homey.app/u/Kattlukt)\
**Post date:** [October 9, 2023, 3:47pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360/4 "2023-10-09T15:47:05Z")

</div>

If I use an modbus client on my phone i can send the command 2 to address 40202. But unfortunately homey does not have modbus client.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 9, 2023, 4:04pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360/5 "2023-10-09T16:04:49Z")

</div>

You’re going to have to find out what the specific HTTP request is that needs to be made, I’m not going to decipher what that blob of code means 😬

---

<div class="post-metadata">

**Author:** ![Kattlukt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kattlukt/32/57127_2.png) [@Kattlukt](https://community.homey.app/u/Kattlukt)\
**Post date:** [October 9, 2023, 4:34pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360/6 "2023-10-09T16:34:52Z")

</div>

😂 I will keep looking! Thank you!

---

<div class="post-metadata">

**Author:** ![Kattlukt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kattlukt/32/57127_2.png) [@Kattlukt](https://community.homey.app/u/Kattlukt)\
**Post date:** [October 9, 2023, 5:40pm UTC](https://community.homey.app/t/help-to-get-this-to-http-request/91360/7 "2023-10-09T17:40:38Z")

</div>

Hey Robert!  
Thank you for guiding me in the right direction!  
I went in to Chrome browser and pressed f12 and there I found it when clicking on the button!

 ![1000006115](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2c4c485d553a573320965ba32de220ccda945c19.png)
