Open liangchenye opened 8 years ago
curl -X POST --header "Host: xdcs-collector.ximalaya.com" --header "Proxy-Connection: keep-alive" --header "Content-Length: 700" --header "Origin: http://m.ximalaya.com" --header "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" --header "Content-Type: application/json" --header "Accept: /" --header "Referer: http://m.ximalaya.com/85107550/sound/44205205" --header "Accept-Encoding: gzip, deflate" --header "Accept-Language: zh-CN,zh;q=0.8,en-GB;q=0.6,en;q=0.4" --header "Cookie: _xmLog=xm_1500348073386_j590i6ju9fn2fg; trackType=web; x_xmly_traffic=utm_source%3A%26utm_medium%3A%26utm_campaign%3A%26utm_content%3A%26utm_term%3A%26utm_from%3A; _ga=GA1.2.1479770969.1500348073" --data "{\"events\":[{\"props\":{\"uuid\":\"xm_1500348073386_j590i6ju9fn2fg\",\"item\":\"track\",\"itemId\":\"44205205\",\"x_xmly_traffic\":\"utm_source:&utm_medium:&utm_campaign:&utm_content:&utm_term:&utm_from:\",\"refr_source\":\"other\",\"refr_medium\":\"\",\"refr_term\":\"\",\"refr_from\":\"\",\"referer_url\":\"\",\"br_userAgent\":\"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36\",\"br_type\":\"chrome\",\"br_viewSize\":\"1680x1050\",\"page_url\":\"http://m.ximalaya.com/85107550/sound/44205205\",\"page_title\":\"喜马拉雅FM\",\"os\":\"windows\",\"trackType\":\"web\",\"serviceId\":\"startRecord\",\"srcPage\":\"album\",\"srcPageId\":\"44205205\",\"srcModule\":\"record\",\"appName\":\"event\"},\"ts\":1500350721387}]}" http://xdcs-collector.ximalaya.com/api/v1/statistics
curl -v -X POST --header "Host: m.ximalaya.com Proxy-Connection: keep-alive Content-Length: 16 Origin: http://m.ximalaya.com User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Content-Type: application/x-www-form-urlencoded; charset=UTF-8 Accept: / X-Requested-With: XMLHttpRequest Referer: http://m.ximalaya.com/85107550/sound/44205205 Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.8,en-GB;q=0.6,en;q=0.4 Cookie: _xmLog=xm_1500348073386_j590i6ju9fn2fg; trackType=web; x_xmly_traffic=utm_source%3A%26utm_medium%3A%26utm_campaign%3A%26utm_content%3A%26utm_term%3A%26utm_from%3A; _ga=GA1.2.1479770969.1500348073; Hm_lvt_e2abff7f9ca8c2fa2da3ef27e36bbc27=1500348074; Hm_lpvt_e2abff7f9ca8c2fa2da3ef27e36bbc27=1500362264" --data "trackId=44205205" http://m.ximalaya.com/nyx/v1/track/count/wap
step 1. make a clean code here step 2. merge to util? possible?