HTTP POST redirect

Is there a way to create an HTTP POST redirect? So when the user is redirected, the browser visits that URL but POSTs to it instead of GETting it.

Pat

I just did a brief demo and the browser will GET the redirected URL. Bummer. Any other ideas?

Pat

You can try doing this using curl. This example is in php but
there's a ruby lib out there too.

$g = curl_init(); curl_setopt($g,CURLOPT_URL,'http://urltopostto.com'); curl_setopt($g, CURLOPT_POST, 1); curl_setopt($sessions,CURLOPT_POSTFIELDS,"foo=bar&andy=cool); print curl_exec($g);

You could also do this by loading a page using a GET then using
javascript to click on a form post button on the window load.

Andy