# Logica Flow Create web request problem HTTP JSON

**URL:** <https://community.homey.app/t/logica-flow-create-web-request-problem-http-json/30873>\
**Category:** Flows\
**Tags:** flow\
**Created:** [June 5, 2020, 11:07am UTC](https://community.homey.app/t/logica-flow-create-web-request-problem-http-json/30873 "2020-06-05T11:07:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![robke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robke/32/16357_2.png) [@robke](https://community.homey.app/u/robke)\
**Post date:** [June 5, 2020, 11:07am UTC](https://community.homey.app/t/logica-flow-create-web-request-problem-http-json/30873/1 "2020-06-05T11:07:52Z")

</div>

Hi,

Below screenshots from Advanced REST Client (Chrome):

 ![Screenshot 2020-06-05 at 12.55.44](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6d94121ff1beac362c386297205c5f6725e321e.png)  
 ![Screenshot 2020-06-05 at 12.59.16](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/88cdf3b70d0f971c3e2135e0c6ac7be7c327c7e1.png)

Confirmed working, but when in Homey:

 ![IMG_2029](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e66e814406048c76311635950de2189f62c27469.jpeg)

Copy-pasted as follows:

Header:  
Content-Type: application/json  
X-CM-PRODUCTTOKEN: XXXXXXXXX

Body:  
{“callee”:“XXXXXXXX”,“caller”:“XXXXXXXXXX”,“prompt”:“Dit is een alarmmelding.”,“prompt-type”:“TTS”,“voicemail-response”:“Stop”,“voice”:{“language”:“nl-NL”,“gender”:“Male”,“number”:1,“volume”:2}}

Nothing happens. I think it’s because of the two header entries which might not be interpreted well. Anyone any suggestion?

---

<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:** [June 5, 2020, 11:14am UTC](https://community.homey.app/t/logica-flow-create-web-request-problem-http-json/30873/2 "2020-06-05T11:14:53Z")

</div>

Try and see if it works with just one header (the `X-CM-PRODUCTTOKEN` one). Also add a space after the semicolon:

```auto
X-CM-PRODUCTTOKEN: TOKEN

```

Not sure how you enter multiple headers from the mobile client, from the web client you can add multiple headers using Shift-Enter after each separate header line.

---

<div class="post-metadata">

**Author:** ![robke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robke/32/16357_2.png) [@robke](https://community.homey.app/u/robke)\
**Post date:** [June 5, 2020, 11:44am UTC](https://community.homey.app/t/logica-flow-create-web-request-problem-http-json/30873/3 "2020-06-05T11:44:33Z")

</div>

Thanks! The CTRL-ENTER (MacOS) did the trick!

---

<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:** [June 5, 2020, 1:26pm UTC](https://community.homey.app/t/logica-flow-create-web-request-problem-http-json/30873/4 "2020-06-05T13:26:02Z")

</div>

Interesting, it’s Shift-Enter on my Mac 😅 but good to hear it worked!
