Accordingly to docs, all I have to do after creating dev account, is following:
GET https://api.weixin.qq.com/cgi-bin/token/?grant_type=client_credential&appid=MY_ID&secret=MY_SECRET
But, I get this:
{
"errcode": 40066,
"errmsg": "invalid url hint: [qQ0550418k466!]"
}
Tried both "api.weixin.qq.com" and "api.wechat.com" domains, no difference. This error code is not even described in docs. Does anybody know what to do with this?
Ok, it appears that there should not be slash before "?". That's all.