-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: FellBan<[email protected]>
- Loading branch information
1 parent
25681ab
commit 8228cbb
Showing
2 changed files
with
231 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,219 @@ | ||
[ | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"url": "https://www.fzbw.cn/wp-json/jwt-auth/v1/token", | ||
"headers": [ | ||
{ | ||
"name": "Host", | ||
"value": "www.fzbw.cn" | ||
}, | ||
{ | ||
"name": "Connection", | ||
"value": "keep-alive" | ||
}, | ||
{ | ||
"name": "sec-ch-ua", | ||
"value": "\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\"" | ||
}, | ||
{ | ||
"name": "Accept", | ||
"value": "application/json, text/plain, */*" | ||
}, | ||
{ | ||
"name": "Content-Type", | ||
"value": "application/x-www-form-urlencoded" | ||
}, | ||
{ | ||
"name": "DNT", | ||
"value": "1" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-mobile", | ||
"value": "?0" | ||
}, | ||
{ | ||
"name": "User-Agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-platform", | ||
"value": "\"Windows\"" | ||
}, | ||
{ | ||
"name": "Origin", | ||
"value": "https://www.fzbw.cn" | ||
}, | ||
{ | ||
"name": "Sec-Fetch-Site", | ||
"value": "same-origin" | ||
}, | ||
{ | ||
"name": "Sec-Fetch-Mode", | ||
"value": "cors" | ||
}, | ||
{ | ||
"name": "Sec-Fetch-Dest", | ||
"value": "empty" | ||
}, | ||
{ | ||
"name": "Referer", | ||
"value": "https://www.fzbw.cn/" | ||
}, | ||
{ | ||
"name": "Accept-Encoding", | ||
"value": "gzip, deflate, br" | ||
}, | ||
{ | ||
"name": "Accept-Language", | ||
"value": "zh-CN,zh;q=0.9" | ||
} | ||
], | ||
"cookies": [], | ||
"data": "nickname=&username={{user|urlencode}}&password={{pass|urlencode}}&code=&img_code=&invitation_code=&token=&smsToken=&luoToken=&confirmPassword=&loginType=", | ||
"mimeType": "application/x-www-form-urlencoded" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "token", | ||
"re": "token\":\"(.+)\",", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"url": "https://www.fzbw.cn/wp-json/b2/v1/userMission", | ||
"headers": [ | ||
{ | ||
"name": "Host", | ||
"value": "www.fzbw.cn" | ||
}, | ||
{ | ||
"name": "Connection", | ||
"value": "keep-alive" | ||
}, | ||
{ | ||
"name": "sec-ch-ua", | ||
"value": "\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\"" | ||
}, | ||
{ | ||
"name": "Accept", | ||
"value": "application/json, text/plain, */*" | ||
}, | ||
{ | ||
"name": "DNT", | ||
"value": "1" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-mobile", | ||
"value": "?0" | ||
}, | ||
{ | ||
"name": "Authorization", | ||
"value": "Bearer {{token}}" | ||
}, | ||
{ | ||
"name": "User-Agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36" | ||
}, | ||
{ | ||
"name": "sec-ch-ua-platform", | ||
"value": "\"Windows\"" | ||
}, | ||
{ | ||
"name": "Origin", | ||
"value": "https://www.fzbw.cn" | ||
}, | ||
{ | ||
"name": "Sec-Fetch-Site", | ||
"value": "same-origin" | ||
}, | ||
{ | ||
"name": "Sec-Fetch-Mode", | ||
"value": "cors" | ||
}, | ||
{ | ||
"name": "Sec-Fetch-Dest", | ||
"value": "empty" | ||
}, | ||
{ | ||
"name": "Referer", | ||
"value": "https://www.fzbw.cn/" | ||
}, | ||
{ | ||
"name": "Accept-Encoding", | ||
"value": "gzip, deflate, br" | ||
}, | ||
{ | ||
"name": "Accept-Language", | ||
"value": "zh-CN,zh;q=0.9" | ||
} | ||
], | ||
"cookies": [], | ||
"data": "", | ||
"mimeType": "" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "jj", | ||
"re": "\"credit\":(\\d+),", | ||
"from": "content" | ||
}, | ||
{ | ||
"name": "j", | ||
"re": "\"my_credit\":\"(\\d+)\"", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"comment": "Unicode转换", | ||
"request": { | ||
"method": "POST", | ||
"url": "api://util/unicode", | ||
"headers": [], | ||
"cookies": [], | ||
"data": "html_unescape=false&content=恭喜!您今天获得了{{jj}}积分 | 我的积分:{{j}}" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
}, | ||
{ | ||
"re": "\"状态\": \"200\"", | ||
"from": "content" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "__log__", | ||
"re": "\"转换后\": \"(.*)\"", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
} | ||
] |