WinHTTP von einem Input die Value bekommen

  • Hey,
    Ich möchte bei WinHTTP von einem Hidden-Input die Value bekommen. Ich dachte daran die Sourcecode zu bekommen und die zu parsen, aber ich habe da auch keine Idee wie man die Sourcecode vor dem Request bekommt..
    HTML-Input:

    Code
    <input type="hidden" id="token" name="token" value="VxuehU7uqJff28Wc">


    AutoIT Script:

    [autoit]

    $oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
    $data = ""
    $oHTTP.Open("POST", "http://irgendeinedomain.de/post.php", False)
    $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded")
    $oHTTP.Send($data)
    $oStatusCode = $oHTTP.Status

    [/autoit][autoit][/autoit][autoit]

    If $oStatusCode <> 200 then
    MsgBox (0,"Fehler",$oStatusCode)
    EndIf

    [/autoit]

    Ich hoffe jemand hat eine Idee.. ich bin am verzweifeln :S

  • Poste bitte mal die Website, da wir dir nur helfen werden, wenn es die AGB's der Website nicht verbieten.

    --> Forenregeln

    Mfg

    There's a joke that C has the speed and efficieny of assembly language combined with readability of....assembly language. In other words, it's just a glorified assembly language. - Teh Interwebz

    C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, you blow off your whole leg. - Bjarne Stroustrup
    Genie zu sein, bedeutet für mich, alles zu tun, was ich will. - Klaus Kinski