Hi all
I realized, that the mechanism for setting the action URLs has changed. We should now send a request in the following form:
http://mydevice/settings/actio…abled=true&urls[]=http://myfancyscriptserver/dosomething.php
I'm using Symfony PHP framework to interact with my shellys. Their HttpClient class (based on curl) insist on urlencoding my url, which leads to the situation, that the urls[]=http... is rewritten as urls%5b%5D=http.... which is then not understood by the shelly anymore. When posting as form-data, the convention is to use urls[0]=http... urls[1]=http.... i.e. there is an array index added.
Shouldn't the shelly understand the urlencoded and/or indexed arrays version as well? Or does anybody have a workaround for this problem?
BTW: while debugging using Postman, I was not able to submit anything as POST requests either. E.g. when trying to activate or deactivate an already stored action URL, this is disregarded simply. Seems there is a something wrong with the shelly...
Thanks in advance
A.V.