forked from qd-today/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
云原神.har
1 lines (1 loc) · 3.23 KB
/
云原神.har
1
[{"request":{"method":"GET","url":"https://api-cloudgame.mihoyo.com/hk4e_cg_cn/wallet/wallet/get","headers":[{"name":"x-rpc-combo_token","value":"{{token}}"},{"name":"x-rpc-client_type","value":"2"},{"name":"x-rpc-app_version","value":"3.2.0"},{"name":"x-rpc-sys_version","value":"11"},{"name":"x-rpc-channel","value":"mihoyo"},{"name":"x-rpc-device_id","value":"{{device_id}}"},{"name":"x-rpc-app_id","value":"1953439974"},{"name":"Referer","value":"https://app.mihoyo.com"},{"name":"x-rpc-vendor_id","value":"1"},{"name":"Host","value":"api-cloudgame.mihoyo.com"},{"name":"User-Agent","value":"okhttp/4.9.0"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"当前账号信息已过期|无法登陆","from":"content"}],"extract_variables":[{"name":"coin_num","re":"\"coin_num\":\"(\\d+)\"","from":"content"},{"name":"free_time","re":"\"free_time\":\"(\\d+)\"","from":"content"},{"name":"total_time","re":"\"total_time\":\"(\\d+)\"","from":"content"}]}},{"comment":"","request":{"method":"GET","url":"https://api-cloudgame.mihoyo.com/hk4e_cg_cn/gamer/api/listNotifications?status=NotificationStatusUnread&type=NotificationTypePopup&is_sort=true","headers":[{"name":"x-rpc-combo_token","value":"{{token}}"},{"name":"x-rpc-client_type","value":"2"},{"name":"x-rpc-app_version","value":"3.2.0"},{"name":"x-rpc-sys_version","value":"11"},{"name":"x-rpc-channel","value":"mihoyo"},{"name":"x-rpc-device_id","value":"{{device_id}}"},{"name":"x-rpc-app_id","value":"1953439974"},{"name":"Referer","value":"https://app.mihoyo.com"},{"name":"x-rpc-vendor_id","value":"1"},{"name":"Host","value":"api-cloudgame.mihoyo.com"},{"name":"User-Agent","value":"okhttp/4.9.0"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"当前账号信息已过期|无法登陆","from":"content"}],"extract_variables":[{"name":"id","re":"\"id\":\"(\\d+)\"","from":"content"},{"name":"num","re":"\"num\\\\\":(\\d+)","from":"content"}]}},{"comment":"","request":{"method":"POST","url":"https://api-cloudgame.mihoyo.com/hk4e_cg_cn/gamer/api/ackNotification","headers":[{"name":"x-rpc-combo_token","value":"{{token}}"},{"name":"x-rpc-client_type","value":"2"},{"name":"x-rpc-app_version","value":"3.2.0"},{"name":"x-rpc-sys_version","value":"11"},{"name":"x-rpc-channel","value":"mihoyo"},{"name":"x-rpc-device_id","value":"{{device_id}}"},{"name":"x-rpc-app_id","value":"1953439974"},{"name":"Referer","value":"https://app.mihoyo.com"},{"name":"x-rpc-vendor_id","value":"1"},{"name":"Host","value":"api-cloudgame.mihoyo.com"},{"name":"User-Agent","value":"okhttp/4.9.0"}],"cookies":[],"data":"{\"id\":\"{{id}}\"}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"当前账号信息已过期|无法登陆","from":"content"}],"extract_variables":[]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content=签到成功,获得免费时长{{num}}分钟,剩余免费时长{{free_time}}分钟,剩余总时长{{total_time}}分钟"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]