Jump to content
Sign in to follow this  
Keltset

IE UDF / HTTP POST & GET requests

Recommended Posts

Keltset

Hello,

I have been using the IE UDF for some time and was wondering if someone can help point me in the right direction.

I have seen winhttp & http udf's used for creating a session and doing POST/GET requests manually, however I'm trying to figure out how this process is done with an existing IE window. Is this possible or do I actually have to write my script to GET/POST through HTTP and replicate the output to an actual browser window as opposed to just telling the IE window I already have tied to my script to send a specific POST request?

I tried searching for examples of this being done so I could learn it, however I was unable to locate anything that helped me get going. I apologize if I did not find it and this has been asked and answered.

-K


-K

Share this post


Link to post
Share on other sites
BlueBoden

.

Edited by BlueBoden

Share this post


Link to post
Share on other sites
AutID

I have seen winhttp & http udf's used for creating a session and doing POST/GET requests manually, however I'm trying to figure out how this process is done with an existing IE window. Is this possible or do I actually have to write my script to GET/POST through HTTP and replicate the output to an actual browser window as opposed to just telling the IE window I already have tied to my script to send a specific POST request?

The process is done by creating object of winhttp, xmlhttp or 2 etc. It has nothing to do with IE udf, well almost. IE UDF is for IE automatation and won't work if an ie browser isn't working.

POST/GET of http doesn't require a browser to be running. Visit MSDN site for more information about creating objects of winhttp and others. Most of them are possible with autoit and pretty amazing.

Share this post


Link to post
Share on other sites
DaleHohm

The Navigate(2) method can take a PostData parameter.  See here: http://msdn.microsoft.com/en-us/library/aa752093(v=vs.85).aspx


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

Share this post


Link to post
Share on other sites
Keltset

Thank you guy's for the help. I was really looking to do it in a browser window I was already automating that does require user interaction for certain things I do not wish to have automated or as part of my script- 

Dale, Thanks- I think this points me in the direction I need to go with my work, I really appreciate it!


-K

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  

×