Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

接口http://mc.aibaniguang/bjgj.c接口未能激活 #8

Closed
yaohuiwu opened this issue Dec 15, 2016 · 2 comments
Closed

接口http://mc.aibaniguang/bjgj.c接口未能激活 #8

yaohuiwu opened this issue Dec 15, 2016 · 2 comments

Comments

@yaohuiwu
Copy link

yaohuiwu commented Dec 15, 2016

curl -H cid=1024 "http://mc.aibang.com/aiguang/bjgj.c?m=checkUpdate&version=1"
返回:
<?xml version='1.0' encoding="utf-8"?> <root> <status>502</status> <info>抱歉,未能激活,请退出应用,重新打开。</info> </root>

@yaohuiwu
Copy link
Author

yaohuiwu commented Dec 15, 2016

解决了。请求头中需要增加一个CID(通过抓包得到):
curl -H "cid:1024" -H "CID:97fbf7a1c9a80a63ed993892aaee39bba33a174ca167e2e" -v "http://mc.aibang.com/aiguang/bjgj.c?m=checkUpdate&version=77"

但是CID如何自动获取也是个问题。

@yaohuiwu yaohuiwu changed the title 接口http://mc.aibaniguang/bjgj.c不能用 接口http://mc.aibaniguang/bjgj.c接口未能激活 Dec 15, 2016
@wong2
Copy link
Owner

wong2 commented Dec 15, 2016

@yaohuiwu cid 可以随便填的:

curl -H "cid:1024" -v "http://mc.aibang.com/aiguang/bjgj.c?m=checkUpdate&version=1"

你之前的问题是写成了 cid=1024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants