代理策略Replace动作补充用例和命令

This commit is contained in:
hebingning
2021-02-08 10:35:09 +08:00
parent 37b03123eb
commit d69df14c09
6 changed files with 123 additions and 29 deletions

View File

@@ -1 +1 @@
curl -kv http://www.zts.com.cn/consult/consult.aspx| iconv -f utf-8 -t gbk
curl -kv https://www.zcool.com.cn/ | iconv -f utf-8 -t gbk

View File

@@ -1 +1,4 @@
curl -H "Content-Type:application/x-www-form-urlencoded" -X POST -d "reqBody=hello&setCookie=hjbnm&contentType=text/html&resBody=05691" -kv http://open.node.com/action | iconv -f utf-8 -t gbk
curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{\"requestbody\":\"testpolicyreplace_0010\",\"setcook\":\"12345678\",\"contenttype\": \"content-type\",\"responsebody\": \"helloreplace0010\"}" -kv http://open.node.com/go | iconv -f utf-8 -t gbk

View File

@@ -0,0 +1 @@
curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{\"requestbody\":\"testpolicyreplace_0010\",\"setcook\":\"12345678\",\"contenttype\": \"content-type\",\"responsebody\": \"aluohareplace0015\"}" -kv http://open.node.com/go | iconv -f utf-8 -t gbk