HTTP POST request.

8 posts in this topic

ParoXsitiC 1

This isn't really a request for help, unless someone is bored. Recently i've been trying to find a way to POST data to a webpage. I first tried doing it through the IE 2.0 automation library, but the navigate method has turned wrong. It's probably my fault. Anyways, here are the 4 ways I have tried, 2 work, 2 dont.

It seems the _HTTPRead could use some tweaking. None the less I would recommended TCP for instance of just POSTing and INET for times when you need a more advanced option (cookies, proxies, reading..etc)

Share this post

Link to post

Share on other sites

StAbb 0

I made an example page at www.sabbgrafix.com/welcome.php which is an extremely simple post example. I use an ISSET function to display post information, if there is any submitted. The post info is "name=yourNameHere".

I used the following code, but when I try and return the body of the page after the post request is sent, I get nothing. But the @error is 0 and the other attributes state that it successfully connected and sent.

Share this post

Link to post

Share on other sites

lionfaggot 2

I made an example page at www.sabbgrafix.com/welcome.php which is an extremely simple post example. I use an ISSET function to display post information, if there is any submitted. The post info is "name=yourNameHere".

I used the following code, but when I try and return the body of the page after the post request is sent, I get nothing. But the @error is 0 and the other attributes state that it successfully connected and sent.