# Http post with variable

**URL:** <https://community.homey.app/t/http-post-with-variable/94609>\
**Category:** Developers\
**Created:** [November 14, 2023, 4:05pm UTC](https://community.homey.app/t/http-post-with-variable/94609 "2023-11-14T16:05:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![owuerker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/owuerker/32/39707_2.png) [@owuerker](https://community.homey.app/u/owuerker)\
**Post date:** [November 14, 2023, 4:05pm UTC](https://community.homey.app/t/http-post-with-variable/94609/1 "2023-11-14T16:05:23Z")

</div>

Hi experts  
would be great if you can help

I am not able to send an http request post using a variable. What do I make wrong?

I will send the actual temperature of a room sensor to my heating system

 ![Bildschirmfoto 2023-11-14 um 16.58.22](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0ef3c243165def718f551456a59bc3381eaaa84.png)

If I send the http post request direct with a number at the end it is working  
 ![Bildschirmfoto 2023-11-14 um 17.02.58](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d59b39d8f583ccedcc8f4bee785712590e4ea4d4.png)

How can I do this with a variable at the end (actual room temperature)

Thanks a lot for your help

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [November 14, 2023, 4:22pm UTC](https://community.homey.app/t/http-post-with-variable/94609/2 "2023-11-14T16:22:43Z")

</div>

Add a tag (variable) to the URL string.? You cannot have dynamic URL’s, but I succeeded in adding a tag to the string.

 ![IMG_2894](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/dfd45bb178822e2f5fc8d73e91a379232c52c007.jpeg)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [November 15, 2023, 2:31am UTC](https://community.homey.app/t/http-post-with-variable/94609/3 "2023-11-15T02:31:01Z")

</div>

I don’t know, but it works fine here. I use a BLL string variable by the way.  
(Homey Logic has/had a bug where _it adds a trailing whitespace to the values_)

The tag is just a string as you can see, and the value of the BLL variable is `25.10`:

![Screenshot from 2023-11-15 03-24-35](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6bd67a79ec9fe153a6847eb1200b246946f1a75d.png)

Reply from the webhook listener flow:

> ![Screenshot from 2023-11-15 03-22-38](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f01f6e9d0f2641ff7e603bcf9a98d662a5f936b.png)
