Jump to content
Sign in to follow this  
AutID

winhttp object to WinHttp.au3

Recommended Posts

AutID

First of all, I suck at this.

I never understood winhttp. I am able to use winhttp object for simple requests but winhttp.au3 is simply beyond me.

It has been 2 hours that I am trying to translate a 4 file code of winhttp object to winhttp.au3. And I am failing.

I am ready to kill myself so please help this poor man escape his death.

This is my big project!

$oHTTP.Open("GET", $URL, False)
;~  $oHTTP.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1")
;~  $oHTTP.Send("")
;~  $oReceived = $oHTTP.ResponseText

I am trying to receive the response text as you can clearly see.

So any winhttp.au3 gurus here to save a life?
 

Edited by AutID

Share this post


Link to post
Share on other sites
Spider001

What are you trying to do ? Or just want to look if a link exsits ?

what is the response text you want ?

on the origenal zip file is the help file

here is a other post from winhttp '?do=embed' frameborder='0' data-embedContent>>

 

https://www.autoitscript.com/autoit3/docs/functions/InetGetInfo.htm ?

Edited by Spider001

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  

×