yize / xswitch

A Chrome Extension for redirecting/forwarding request urls

Home Page:https://chrome.google.com/webstore/detail/xswitch/idkjhjggpffolpidfkikidcokdkdaogg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何更改Request Method

heyanfeng opened this issue · comments

之前的请求是get
转发的请求是post
如何在xswitch里面定义

@heyanfeng 不会吧,能补充下截图吗?

因为浏览器默认的策略是 307 掉。see https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Status/307

默认的请求接口用的get方法,想转发到另一个接口,但是另一个接口需要post方法,用xswitch转发,只是接口变了,但是方法还是get

明白你意思了,我考虑下,不一定能搞定。
这种场景,感觉比较少。因为本身就是做代理,要去把 GET 请求改成 POST 请求的,不太常见。

我也有这个需求