08 2013 档案
摘要:查询 string access_token = "你的token"; string posturl = "https://api.weixin.qq.com/cgi-bin/menu/get?access_token=" + access_token; HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(posturl); request.ContentType = "application/x-www-form-urlencoded"; reque...
阅读全文
摘要:1 删除 2 string access_token = "你的token"; 3 string posturl = "https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=" + access_token; 4 HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(posturl); 5 request.ContentType = "application/x-www-form-urlenco...
阅读全文
摘要:创建 1 string access_token = "你的token"; 2 string posturl = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=" + access_token; 3 string menuStr = " 菜单结构"; 4 5 HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(posturl); 6 request.ContentTy...
阅读全文