Forum Discussion
Lars_Terje_Vaal
Nimbostratus
Oct 31, 2007HTTP::method. Can it be changed?
Hi. I need to change the http method from POST to GET in a request. Is it possible?
hoolio
Cirrostratus
Oct 31, 2007I don't think you can set the method with HTTP::method. The wiki page only shows that you can retrieve the method--not set it. If you could change the request method, I'm not sure it would be a good idea. You'd have to try to handle any POST data that was sent with the request.
If you send a redirect to the same host and URI, the client should follow the redirect with a GET:
when HTTP_REQUEST {
if {$some_condition == 1}{
HTTP::redirect http://[HTTP::host][HTTP::uri]
}
}Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects