http://wiki.connect.qq.com/add_idol 我怎么搞都是返回 {"ret":-1,"msg":"client request’s parameters are invalid"} 我是post请求的呀 搞了好多天 哪位朋友有遇到吗
1 回复
var requestOptions = { method: 'POST’, url:"https://graph.qq.com/relation/add_idol", “Content-type":"application/x-www-form-urlencoded; charset=utf-8", form:{ access_token:"aaaaaaaaaaaaa", name:"xxx-t", oauth_consumer_key:111111111, openid:"xxxxxxxx” } }; request(requestOptions, function (err, response, body) { res.send(body); }); 返回 {"ret":-1,"msg":"client request’s parameters are invalid"} 貌似post参数腾讯那边没解析成功 php curl 请求没问题 这会是什么问题哦 困惑