sumone4life Posted February 16, 2007 Posted February 16, 2007 I was hoping to send GET and POST data to a website and submit the information without actually having the page open in a browser. If anyone could point me in the direction of an example or some commands that i could utilize to get this to work that would be awsome.
Rick-O-Shea Posted February 16, 2007 Posted February 16, 2007 (edited) sumone4life,One thing you could do is get yourself a browser developer kit and learn how and which TCP packages to capture and build an Autoit proggie around that... if you don't mind using an IE window I'd say use the exelent works of DaleHohm --> IE.au3Cheers,Rick Edited February 16, 2007 by Rick-O-Shea
sumone4life Posted February 16, 2007 Author Posted February 16, 2007 Id rather not use the IE browser. I have used DaleHohm's IE include a couple of times so i know i can do it that way, id just perfer doing it without having to open up a new browser. Do you know of any browser development kits or anywhere i could go to learn about the TCP packets involved in sending the data?
DaleHohm Posted February 16, 2007 Posted February 16, 2007 See my sig for some pointers including 1) Fiddler for HTTP capture and manipulation and 2) an HTTP Post UDF written by another forum member. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble
Hasher Posted February 17, 2007 Posted February 17, 2007 (edited) I use this little bit of source , this object seems super fast at doing a POST $oHttpRequest = ObjCreate("MSXML2.ServerXMLHTTP") $oHttpRequest.Open ("POST", $sTestUrl,True) $oHttpRequest.setRequestHeader ("Content-Type", $Header) $oHttpRequest.setRequestHeader ("Connection", "Keep-Alive") $oHttpRequest.Send ($PostData) Edited February 17, 2007 by Hasher Firefox's secret is the same as Jessica Simpson's: its effortless, glamorous style is the result of shhh extensions!
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