Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>If I am not missing anything when you press "weiter" buttons (I guess this is a "Submit" button), then here is what happens:</p> <pre><code>POST /DSBlightWebsite/(S(jlbbytzvocksc4v2i30gtjli))/Homepage/IFrame.aspx?ID=b4457c67-24a2-446f-af41-810fba7f723d&amp;Width=937&amp;Height=530&amp;MyDate=0 HTTP/1.1 Host: light.dsbcontrol.de User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Connection: keep-alive Referer: https://light.dsbcontrol.de/DSBlightWebsite/(S(jlbbytzvocksc4v2i30gtjli))/Homepage/IFrame.aspx?ID=b4457c67-24a2-446f-af41-810fba7f723d&amp;Width=937&amp;Height=530&amp;MyDate=0 Content-Type: application/x-www-form-urlencoded Content-Length: 273 __VIEWSTATE=%2FwEPDwULLTEwODU4OTkxMzRkZGl5uRxMYz320dUnYalV0rRm4KBLu%2F%2FmncdSoRUaM2Cr&amp;__EVENTVALIDATION=%2FwEWBALArNzjCQK10rnVAQLLus%2B1BQLpvY%2BZD1oB3Xt3JbIIPV05vCoiVbXiTq5FzSyFDPswYprWZto4&amp;ctl02%24txtBenutzername=sdfasf&amp;ctl02%24txtPasswort=asfsad&amp;ctl02%24btnLogin=weiter </code></pre> <p>As you can see this is a <code>application/x-www-form-urlencoded</code> POST to <code>light.dsbcontrol.de/DSBlightWebsite/(S(jlbbytzvocksc4v2i30gtjli))/Homepage/IFrame.aspx?ID=b4457c67-24a2-446f-af41-810fba7f723d&amp;Width=937&amp;Height=530&amp;MyDate=0</code> with a set of params:</p> <pre><code>__VIEWSTATE=/wEPDwULLTEwODU4OTkxMzRkZGl5uRxMYz320dUnYalV0rRm4KBLu//mncdSoRUaM2Cr __EVENTVALIDATION=/wEWBALArNzjCQK10rnVAQLLus+1BQLpvY+ZD1oB3Xt3JbIIPV05vCoiVbXiTq5FzSyFDPswYprWZto4 ctl02$txtBenutzername=sdfasf ctl02$txtPasswort=asfsad ctl02$btnLogin=weiter </code></pre> <p>So I belive you can use HttpClient to make such a POST directly without the need to use JavaScript/WebView. You just need to use your params instead. However I realize it could be unclear what some params mean, but that might be explained at the web API documentation. If there is no web API documentation, then I suspect such approach may not work since you may just not know what values to pass as those params.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload