Make Web request action help


#1

Hi all,

I’m having trouble with the “make web request” action. I need to pass json data as body, not a variable.

Here’s the what I need to do :

POST
URL: username.dyndns.org:01234/api/services/tts/amazon_polly_say?api_password=mypassword
content type : application/json
body: {“entity_id”:“media_player.mini_google”,“message”:“You left the door opened idiot!”}

I of course tried to put the body into a webcore variable and use it in the variable field but it didn’t end up working so well (aka, body didn’t reach destination).

Any help would be appreciated.