I'm trying to figure out how to do a POST followed by a GET.

If I do something like:

wget http://www.somesite.com/post.cgi --post-data 'a=1&b=2' 
http://www.somesite.com/getme.html -d

I get the following behavior:

POST /post.cgi HTTP/1.0
<snip>
[POST data: a=1&b=2]
<snip>
POST /getme.html HTTP/1.0
<snip>
[POST data: a=1&b=2]

Is this what is expected? Is there a way I can coax wget to POST to post.cgi and GET 
getme.html?

Tony

Reply via email to