Page 1 of 1

Reconnect router (Fritz!Box)

Posted: 11 Jul 2019 22:13
by Bluscre
Based on https://gist.github.com/martinklepsch/3 ... 221cc569e3 i tried creating an action for it but i get an invalid response
Screenshot_20190712-001201.png
Screenshot_20190712-001201.png (178.13 KiB) Viewed 7552 times

Re: Reconnect router (Fritz!Box)

Posted: 12 Jul 2019 06:38
by Snify
I don't know the fritz box requests, but I can see that the URL is faulty (remove the whitespace and the "HTTP/1.1")
Also Handle redirects should be enabled since you want to access the HTTPS isntead of the HTTP (you enabled certificate but access the unsecure HTTP)

I also doubt, that you need the HOST Header (with port...) ... this is, I believe, done automatically by the action. (altough also I am not sure if it can be overwritten or will occur twice)

Also use debug dialog condition after the request - this might help too :)