Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

从body获取数据放入urlParams #978

Closed
sonce opened this issue Sep 13, 2023 · 2 comments
Closed

从body获取数据放入urlParams #978

sonce opened this issue Sep 13, 2023 · 2 comments

Comments

@sonce
Copy link

sonce commented Sep 13, 2023

请教下,

test.com includeFilter://b:/"Id":"(mock_\w+)"|"order_status_list":["(\w*)"]/i http://mock.cn/findorderlistquery urlParams://(shopId=$1&orderState=$2)

$1和$2都是空的。
是哪里不对吗?或者有其他什么办法?

@avwo
Copy link
Owner

avwo commented Sep 13, 2023

@avwo
Copy link
Owner

avwo commented Nov 5, 2023

最新版 v2.9.59,重新安装并重启 Whistle,为了跟 url 的 pattern 做区分需要把 $0$1 等改成 $b0$b1

@avwo avwo closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants