mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: 源社区 (#845)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
This commit is contained in:
parent
56053cc83b
commit
779ddee81e
File diff suppressed because one or more lines are too long
|
@ -1,8 +1,38 @@
|
|||
[
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content={{ Domain | default(\"https://ysqbbs.com\") }}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "{{ Domain | default(\"https://srcbbs.com\") }}/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
|
||||
"url": "{{Domain}}/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "username={{username}}&password={{password}}"
|
Loading…
Reference in New Issue
Block a user