# Creating http request

**URL:** <https://community.homey.app/t/creating-http-request/95933>\
**Category:** Questions & Help\
**Tags:** homey-bridge\
**Created:** [November 27, 2023, 6:54am UTC](https://community.homey.app/t/creating-http-request/95933 "2023-11-27T06:54:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Jonasson1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_jonasson1/32/79804_2.png) [@Peter\_Jonasson1](https://community.homey.app/u/Peter_Jonasson1)\
**Post date:** [November 27, 2023, 6:54am UTC](https://community.homey.app/t/creating-http-request/95933/1 "2023-11-27T06:54:55Z")

</div>

I’m trying to make a http request with PUT in Homey bridge but I’m not sure where to place the filename that I want it to have on the webserver “3.val” and the variable “innetemp”I want to send ? Right now it looks like this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/450b6be6ed05aabb6f3acc9343fb2094d74c0474.jpeg)

But this only results in en error “malformed header 22.9”

Webserver is Apache 2.4 and it should be correctly configured

---

<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:** [November 27, 2023, 7:18am UTC](https://community.homey.app/t/creating-http-request/95933/2 "2023-11-27T07:18:04Z")

</div>

This sounds like a local issue with your server. I assume “22.9” is the temperature that’s being sent.

---

<div class="post-metadata">

**Author:** ![Peter\_Jonasson1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_jonasson1/32/79804_2.png) [@Peter\_Jonasson1](https://community.homey.app/u/Peter_Jonasson1)\
**Post date:** [November 27, 2023, 7:42am UTC](https://community.homey.app/t/creating-http-request/95933/3 "2023-11-27T07:42:24Z")

</div>

I think that 22.9 is an error code.  
Thanx for answering I’ll keep on looking for errors.

---

<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:** [November 27, 2023, 8:17am UTC](https://community.homey.app/t/creating-http-request/95933/4 "2023-11-27T08:17:07Z")

</div>

If the machine on which you’re running Apache is able to run `netcat` or `nc`, you might be able to debug the request that’s being sent:

```auto
netcat -lp 12345

```

Then change your flow to use port 12345 in the request.
