我正在尝试使用Charles web proxy代理一个curl soap请求。
curl \
--header "Host: https://soapapi.com" \
--header "Content-Type: text/xml;charset=UTF-8" \
--header "SOAPAction: http://soapapi.com/RequestAction" \
--data "@/request-v2.0.6.xml" http://localhost:8888/cta/sys2/soap11/endpoint-v2-0这就产生了http://https://soapapi.com/cta/sys2/soap11/endpoint-v2-0。
有没有办法通过localhost代理到https?也许可以替换协议和域。
发布于 2018-10-09 07:16:30
好吧,我找到了一个方法。有一个重写选项。
在Host:标头中删除协议。和http://localhost:8888的代理
在Tools菜单下有一个重写选项。这将打开重写窗口。

https://stackoverflow.com/questions/52710940
复制相似问题