How to intercept entire HTTPRequests from Adobe AIR's HTMLLoader

This is a follow-up question to http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_23787171.html?cid=239#a22931986. Between the provided answer and my own research I've managed to achieve this, but it leads to a further question, which would make this solution even more useful to me. All one "intercepts" here is the URL. Any ideas re how to intercept the entire HTTP Request. By which I mean, including POST data (if any)?

Thanks in advance,
Terry
tcattermoleAsked:
Who is Participating?
 
evcrConnect With a Mentor Commented:

parse the html to get all the links out of the page:
http://www.mikechambers.com/blog/2007/11/09/using-the-htmlcontrol-in-adobe-air-to-parse-html-as-a-data-source/

That should give you the whole url inc. post data etc..

Once you've got the links in an array you could probably use my previous example to choose where (or not) you want the user to go.

HTH

Kim
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.