mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 20:23:05 +00:00
73 lines
2.3 KiB
JSON
73 lines
2.3 KiB
JSON
[
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "http://ht.ys168.com/login.aspx",
|
|
"headers": [
|
|
{
|
|
"name": "Accept",
|
|
"value": "text/plain, */*; q=0.01"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate"
|
|
},
|
|
{
|
|
"name": "Accept-Language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
},
|
|
{
|
|
"name": "DNT",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Host",
|
|
"value": "ht.ys168.com"
|
|
},
|
|
{
|
|
"name": "Origin",
|
|
"value": "http://ht.ys168.com"
|
|
},
|
|
{
|
|
"name": "Proxy-Connection",
|
|
"value": "keep-alive"
|
|
},
|
|
{
|
|
"name": "Referer",
|
|
"value": "http://ht.ys168.com/login.aspx"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0"
|
|
},
|
|
{
|
|
"name": "X-Requested-With",
|
|
"value": "XMLHttpRequest"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "cz=Dl&yhm={{username|urlencode}}&glmm={{password|urlencode}}",
|
|
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": ".+",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |