mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
237 lines
7.3 KiB
JSON
237 lines
7.3 KiB
JSON
[
|
|
{
|
|
"comment": "登入-获取token",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://https.ghs.wiki:7002/API?void=post",
|
|
"headers": [
|
|
{
|
|
"name": "Accept",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"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": "Access-Control-Allow-Origin",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"name": "Connection",
|
|
"value": "keep-alive"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Origin",
|
|
"value": "https://www.mossfrp.top"
|
|
},
|
|
{
|
|
"name": "Referer",
|
|
"value": "https://https.ghs.wiki/"
|
|
},
|
|
{
|
|
"name": "Sec-Fetch-Dest",
|
|
"value": "empty"
|
|
},
|
|
{
|
|
"name": "Sec-Fetch-Mode",
|
|
"value": "cors"
|
|
},
|
|
{
|
|
"name": "Sec-Fetch-Site",
|
|
"value": "cross-site"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
|
|
},
|
|
{
|
|
"name": "access-control-max-age",
|
|
"value": "864000"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not/A)Brand\";v=\"99\", \"Microsoft Edge\";v=\"115\", \"Chromium\";v=\"115\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
},
|
|
{
|
|
"name": "sec-gpc",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "{\"type\":\"login\",\"loginType\":\"email\",\"account\":\"{{username}}\",\"password\":\"{{password}}\",\"encryption\":\"true\"}",
|
|
"mimeType": "application/json"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [
|
|
{
|
|
"re": "404",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"extract_variables": [
|
|
{
|
|
"name": "token",
|
|
"re": "\"token\":\"(.+?)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "签到",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://https.ghs.wiki:7002/API?void=post",
|
|
"headers": [
|
|
{
|
|
"name": "Accept",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"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": "Access-Control-Allow-Origin",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"name": "Connection",
|
|
"value": "keep-alive"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"name": "Origin",
|
|
"value": "https://www.mossfrp.top"
|
|
},
|
|
{
|
|
"name": "Referer",
|
|
"value": "https://https.ghs.wiki/"
|
|
},
|
|
{
|
|
"name": "Sec-Fetch-Dest",
|
|
"value": "empty"
|
|
},
|
|
{
|
|
"name": "Sec-Fetch-Mode",
|
|
"value": "cors"
|
|
},
|
|
{
|
|
"name": "Sec-Fetch-Site",
|
|
"value": "cross-site"
|
|
},
|
|
{
|
|
"name": "User-Agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
|
|
},
|
|
{
|
|
"name": "access-control-max-age",
|
|
"value": "864000"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not/A)Brand\";v=\"99\", \"Microsoft Edge\";v=\"115\", \"Chromium\";v=\"115\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
},
|
|
{
|
|
"name": "sec-gpc",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "{\"type\":\"signIn\",\"token\":\"{{token}}\"}",
|
|
"mimeType": "application/json"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "signInMessage",
|
|
"re": "\"signInMessage\":\"(.+?)\",",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "Unicode转换",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/unicode",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "content={{signInMessage}}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"200\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"转换后\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |