forked from wjf0214/qd-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GLaDOS.har
1 lines (1 loc) · 2.35 KB
/
GLaDOS.har
1
[{"comment":"签到","request":{"method":"POST","url":"https://glados.rocks/api/user/checkin","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"accept","value":"application/json, text/plain, */*"},{"name":"content-type","value":"application/json;charset=UTF-8"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"},{"name":"origin","value":"https://glados.rocks"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"cookie","value":"{{cookie}}"}],"cookies":[],"data":"{\"token\":\"glados.network\"}","mimeType":"application/json;charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"没有权限","from":"content"},{"re":"\"code\":[^1|0]","from":"content"},{"re":"oops, token error","from":"content"}],"extract_variables":[{"name":"msg","re":"\"message\":\"(.+?)\"","from":"content"}]}},{"comment":"用户状态","request":{"method":"GET","url":"https://glados.rocks/api/user/status","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"accept","value":"application/json, text/plain, */*"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"days","re":"\"days\":(\\d+),","from":"content"},{"name":"leftDays","re":"\"leftDays\":\"(.+)\"","from":"content"},{"name":"vip","re":"\"vip\":(\\d+),","from":"content"}]}},{"comment":"日志","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E7%AD%BE%E5%88%B0%E4%BF%A1%E6%81%AF%EF%BC%9A%E3%80%90{{msg|urlencode}}%E3%80%91%5Cr%5CnVIP%EF%BC%9A%E3%80%90{{vip|urlencode}}%E3%80%91%EF%BC%8C%E5%B7%B2%E7%94%A8%E5%A4%A9%E6%95%B0%EF%BC%9A%E3%80%90{{days|urlencode}}%E3%80%91%EF%BC%8C%E5%89%A9%E4%BD%99%E5%A4%A9%E6%95%B0%EF%BC%9A%E3%80%90{{leftDays|int|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":".+","from":"content"}]}}]