Logica Flow Create web request problem HTTP JSON

Hi,

Below screenshots from Advanced REST Client (Chrome):


Confirmed working, but when in Homey:

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?

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

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.

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

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