Jump to content
Sign in to follow this  
Armand

"POST" with 'winhttp.winhttprequest.5.1' OBJ

Recommended Posts

Armand

hey, i would realy realy like to know the limits of "POST" with 'winhttp.winhttprequest.5.1' OBJ.

also if possible to get some specific instructions as to what should i send along with it [HEADERS] and how to do that...

ANYTHING WILL BE USEFULL.

thanks in advance !

current script wigit

$DB_OBJ.Open("POST", "http://www.japan-casino.us/admin.php")
$DB_OBJ.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded")
$DB_OBJ.Send('Admin=LOGINNAME'& Chr(38) &'Pass=PASSWORD'& Chr(38) &'PostData=A HELL LOT OF TEXT')
$DBGet = $DB_OBJ.Responsetext

when i send the above with the CAPs latters changed to what i need to 'POST' i get a blank $DBGet, and when i check in my server it seems like i failed to post, however if i send it with smaller amount of text it seems to be OK.... any clue ?!

---> EDIT:

for the next to come, here is a link for all you'll need to know about HTTP.

http://www.w3.org/Protocols/rfc2616/rfc2616.html

Edited by Armand

[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

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  

×