加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
杉果游戏.har 4.38 KB
一键复制 编辑 原始数据 按行查看 历史
[{"comment":"登陆","request":{"method":"POST","url":"https://auth.sonkwo.com/api/access_token.json?locale=js","headers":[{"name":"Host","value":"auth.sonkwo.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"name":"Accept","value":"application/vnd.sonkwo.v1+json"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Origin","value":"https://www.sonkwo.com"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"https://www.sonkwo.com/sign_in?return_addr=%2F"}],"cookies":[],"data":"sonkwo_version=1&sonkwo_client=web&account%5Bremember_me%5D=true&account%5Bemail_or_phone_number_eq%5D={{ username |urlencode}}&account%5Bpassword%5D={{ password |urlencode}}","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"access_token\":\"(.+?)\"","from":"content","name":"auth"}]}},{"comment":"签到","request":{"method":"POST","url":"https://auth.sonkwo.com/api/me/clock_in.json?locale=js","headers":[{"name":"Host","value":"auth.sonkwo.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"name":"Accept","value":"application/vnd.sonkwo.v1+json"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Authorization","value":"Bearer {{auth|urlencode}}"},{"name":"Content-Length","value":"34"},{"name":"Origin","value":"https://www.sonkwo.com"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"https://www.sonkwo.com/"},{"name":"Pragma","value":"no-cache"},{"name":"Cache-Control","value":"no-cache"}],"cookies":[],"data":"sonkwo_version=1&sonkwo_client=web","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"greater_than","from":"content"},{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"获取13位时间戳","request":{"method":"GET","url":"http://localhost/util/timestamp","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"时间戳\": (.+?),","from":"content","name":"time"}]}},{"request":{"method":"GET","url":"https://auth.sonkwo.com/api/me.json?locale=js&sonkwo_version=1&sonkwo_client=web&q%5Bintroduction%5D=true&q%5Bbirthday%5D=true&q%5Bshow_steam_review%5D=true&q%5Blast_sign_in_at_timestamp%5D=true&q%5Blast_sign_in_ip%5D=true&q%5Bset_password%5D=true&q%5Bgender%5D=true&q%5Bemail_asterisks%5D=true&q%5Bphone_number_asterisks%5D=true&q%5Bcredential_num_asterisks%5D=true&q%5Bunmute_at_timestamp%5D=true&q%5Bpoint%5D%5Bxp%5D=true&q%5Bpoint%5D%5Bscore%5D=true&q%5Bpoint%5D%5Btasks%5D=true&q%5Bplatforms%5D%5Bshow_id%5D=true&q%5Bplatforms%5D%5Bkind%5D=true&q%5Bwallet%5D%5Bbalance%5D=true&q%5Bwallet%5D%5Bstatus%5D=true&q%5Bregion%5D=true&_={{time|urlencode}}","headers":[{"name":"Host","value":"auth.sonkwo.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"name":"Accept","value":"application/vnd.sonkwo.v1+json"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Authorization","value":"Bearer {{auth}}"},{"name":"Origin","value":"https://www.sonkwo.com"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"https://www.sonkwo.com/setting"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"score\":(.+?),","from":"content","name":"log_score"}]}},{"comment":"生成日志","request":{"method":"GET","url":"http://localhost/util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E7%A7%AF%E5%88%86%3A%20{{log_score|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":".+","from":"content","name":"__log__"}]}}]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化