resHeaders

修改请求头,配置方式:

pattern resHeaders://filepath

filepath为Values里面的{key}或者本地文件(如:e:\test\xxxe:/test/xxx/User/username/test/xxx等):

x-test1: value1
x-test2: value2
x-testN: valueN

pattern参见匹配模式,更多模式请参考配置方式,json格式参考操作值

例子:

www.ifeng.com resHeaders://{test-resHeaders.json}

test-resHeaders.json:

x-test1: value1
x-test2: value2
x-testN: valueN

results matching ""

    No results matching ""