form格式访问服务器QByteArray postArray;
postArray.append("grant_type=authorization_code");
postArray.append("&client_id=32u2w95f200D4d27");
postArray.append("&client_secret=37vH35Eg028P2HZz");
postArray.append("&redirect_uri=http://www.163.com");
postArray.append("&code=128a55c1249ebf3ef9d154b72a5386d4");
QNetworkRequest request(QUrl("http://kk.bigk2.com:8080/KOAuthDemeter/accessToken"));
request.setHeader(QNetworkRequest::ContentTypeHeader,"application/x-www-form-urlencoded");
request.setHeader(QNetworkRequest::ContentLengthHeader,postArray.size());
manager->post(request,postArray);
json格式访问服务器QUrl url("http://kk.bigk2.com:8080/KOAuthDemeter/User/getKSceneList");
QByteArray array("{"userid":"1538822184@qq.com"}");
QNetwork