- #1
davee123
- 672
- 4
So, most of the time, when I want to do a redirect using HTTP headers, I do something like this:
[/URL]
And, that's all well and good-- but what if I want to redirect the browser to make the same request as a POST? Essentially, I want something like this:
Or, something like that. Obviously, that doesn't work. And everything I'm managing to Google gives me the answers to other questions. Anyone?
DaveE
Code:
Status: 302 Moved Temporarily
Location: [PLAIN]http://www.foo.com/bar.cgi[/PLAIN] ?param=1
And, that's all well and good-- but what if I want to redirect the browser to make the same request as a POST? Essentially, I want something like this:
Code:
Status: 302 Moved Temporarily
Location: [PLAIN]http://www.foo.com/bar.cgi[/PLAIN]
Request-Method: POST
Content: param=1
Or, something like that. Obviously, that doesn't work. And everything I'm managing to Google gives me the answers to other questions. Anyone?
DaveE
Last edited by a moderator: