#1
|
|||
|
|||
Can anybody help me converting a http script to https?
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]]] Can anybody help me? |
#2
|
||||
|
||||
Hi,
you can do it like this: Code:
[[[REQUEST https="true"]]]
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
so easy ... im so dumb
thx a lot. works like a charm. |
#4
|
||||
|
||||
Nahh how could you know before?
Thanks for your feedback. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|