Converting POST into GET

Hi,

I need (as part of a cache busting exercise) to convert a POST into a
GET with the same URI parameters. ( The URL is currently a GET, but a
proxy I have to subvert is mangling things :frowning: There is no true POST
data).

Is there an Nginx configuration that would do this? I tried setting
|$request_method but that caused a configuration error.

Thanks

Ian|

I need (as part of a cache busting exercise) to convert a POST into a GET
with the same URI parameters. ( The URL is currently a GET, but a proxy I
have to subvert is mangling things :frowning: There is no true POST data).

Is there an Nginx configuration that would do this? I tried setting
$request_method but that caused a configuration error.

It’s a bit unclear what you mean by “I have to subvert is mangling
things”
but you can change the method for proxied requests with proxy_method (
Module ngx_http_proxy_module )

rr