1) Give a description of the problem
(PUT YOUR INFO HERE)
Hello,
I’m trying to create a simple piston which makes a POST request on a local network IP ( a Bose soundbar) using the API provided by Bose Devs.
In this Moment I’m kinda newbie in this domain but I will try to learn.Untill then, please help me out!
2) What is the expected behaviour?
(PUT YOUR INFO HERE)
I would like that my piston would execute the desired command using the make a POST request.
3) What is happening/not happening?
(PUT YOUR INFO HERE)
After I run the piston…nothing happens.I think I did not made the correct piston-variable-attributes.
When I use the Command Prompt curl, the Post request it’s fully functional, but when I put the same “link” in my piston it does not work.
The IP Address of my Bose SoundTouch 300 is 192.168.100.22:8090 and the command that it’s working using the Curl software is:
curl -X POST -H “application/xml;charset=utf- bose_tv_source: curl -X POST -H “application/xml;charset=utf-8” -d ‘<?xml version=“1.0” ?><ContentItem source=“PRODUCT” sourceAccount=“TV”></ContentItem>” http://<soundtouch ip address>:8090/select8’ -d ‘<?xml version=“1.0” ?><ContentItem source=“PRODUCT” sourceAccount=“TV”></ContentItem>’ http://192.168.100.22:8090/select
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)
+1ms | ╔Received event [Acăsică].time = 1573134910347 with a delay of -1276ms |
---|---|
+75ms | ║RunTime Analysis CS > 17ms > PS > 43ms > PE > 15ms > CE |
+77ms | ║Runtime (37306 bytes) successfully initialized in 43ms (v0.3.110.20191009) (75ms) |
+79ms | ║╔Execution stage started |
+80ms | ║╚Execution stage complete. (1ms) |
+81ms | ╚Event processed successfully (81ms) |
Thank