leb Posted October 11, 2017 Posted October 11, 2017 Hello there, I am using the function InetGet example in the help files on a website and getting the error 13. First, I searched the help files and the forum for a list of errors to consult to no avail. I suspect this is a 400's server reply based error but it would be nice to get more info about it. Please help, thanks. L
leb Posted October 12, 2017 Author Posted October 12, 2017 Found a workaround, still interested to know is there is a list of errors posted somewhere, thks. get_url(insert url here) Func get_url($url) $RequestURL = $url; Global $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") ; $oHTTP.Open("GET", $RequestURL, False) $oHTTP.Send() if $oHTTP.status == 200 Then ConsoleWrite($oHTTP.ResponseText) Else ConsoleWrite("Other status: " & $oHTTP.status) EndIf EndFunc
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now