This is the Tomato Script to stop and restart wan:
Code:
[[[HSRC]]]
[[[STEP]]]
[[[REQUEST]]]
GET / HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
[[[/REQUEST]]]
[[[RESPONSE keys="tid"]]]
.*_http_id=(TID[a-zA-Z0-9]{2,16}).*
[[[/RESPONSE]]]
[[[/STEP]]]
[[[STEP]]]
[[[REQUEST]]]
POST /service.cgi HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
_service=wan-stop&_redirect=status-overview.asp&_sleep=2&_http_id=%%%tid%%%
[[[/REQUEST]]]
[[[/STEP]]]
[[[STEP]]]
[[[WAIT seconds="2"/]]]
[[[/STEP]]]
[[[STEP]]]
[[[REQUEST]]]
POST /service.cgi HTTP/1.1
Host: %%%routerip%%%
Authorization: Basic %%%basicauth%%%
_service=wan-restart&_redirect=status-overview.asp&_sleep=5&_http_id=%%%tid%%%
[[[/REQUEST]]]
[[[/STEP]]]
[[[STEP]]]
[[[WAIT seconds="5"/]]]
[[[/STEP]]]
[[[/HSRC]]]
Its http but i want to use https.
Can anybody help me?