开发者

Is it possible in nginx to rewrite a POST request into GET one?

开发者 https://www.devze.com 2023-04-01 23:35 出处:网络
I want 开发者_C百科to get the POST variables with JS, but it can only catch GET variables. My idea is to rewrite an POST request into GET one. Is it possible?The file is static html, and i don\'t wann

I want 开发者_C百科to get the POST variables with JS, but it can only catch GET variables. My idea is to rewrite an POST request into GET one. Is it possible? The file is static html, and i don't wannt to use php or some script-language to do this.


Use reverse proxy. But its an extremely bad fix.

0

精彩评论

暂无评论...
验证码 换一张
取 消