Sign in to follow this  
Followers 0
MATISZON

problem Winhttp

2 posts in this topic

#1 ·  Posted (edited)

hello,

I can not connect to a server using WinHTTP.

$WinHttp = ObjCreate("winhttp.winhttprequest.5.1")
    $WinHttp.Open("GET", "http://s10.zieloneimperium.pl/logw.php?pass=9abdd0da86b0f92d00a0058beb6de326&USR=LOGIN&gfx_aktiv=on&server=server10&embed=&sno=10&ref=")
    $WinHttp.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13")
    $WinHttp.Send()
    MsgBox(0,0,$WinHttp.GetAllResponseHeaders)

post-53057-0-14609600-1297101923_thumb.j

Screen from LiveHttpHeaders

Posted Image

Edited by MATISZON

[size="3"][font="Arial Black"]I'm from the Polish do not as well know how English[/font][/size]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Refresh because edited the first post

Why not get the header set-cookie

Edited by MATISZON

[size="3"][font="Arial Black"]I'm from the Polish do not as well know how English[/font][/size]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0