VC6.0实现POST和Get,调用后端WEBAPI接口_MFC版.rar

上传者: i735740559 | 上传时间: 2022-09-22 16:26:45 | 文件大小: 97KB | 文件类型: RAR
CHttpClient HttpRequest; string ret=""; HttpRequest.HttpPost("http://www.baidu.com/","",ret); ofstream OutFile("C:\\11111111111111.txt"); //利用构造函数创建txt文本,并且打开该文本 OutFile << ret.c_str(); //把字符串内容,写入Test.txt文件 OutFile.close(); //关闭Test.txt文件 //注意 这里返回的json数据 如果是中文的话,是 编码模式存在的,可以用jsoncppp解析,解析出来默认就是中文。 ::MessageBoxA(NULL,"JSON数据 记事本写入成功" ,"提示",MB_OK);

文件下载

资源详情

[{"title":"( 36 个子文件 97KB ) VC6.0实现POST和Get,调用后端WEBAPI接口_MFC版.rar","children":[{"title":"WininetHttp.cpp <span style='color:#111;'> 6.29KB </span>","children":null,"spread":false},{"title":"md5.h <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"WinHttpClient","children":[{"title":"RegExp.h <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"winhttp.h <span style='color:#111;'> 43.78KB </span>","children":null,"spread":false},{"title":"WinHttpClient.h <span style='color:#111;'> 34.98KB </span>","children":null,"spread":false},{"title":"atlrx.h <span style='color:#111;'> 44.09KB </span>","children":null,"spread":false},{"title":"Test.cpp <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"StringProcess.h <span style='color:#111;'> 15.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"POST和Get.ncb <span style='color:#111;'> 121.00KB </span>","children":null,"spread":false},{"title":"HttpClient.h <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"POST和Get.exe <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"WininetHttp.h <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"HttpClient.cpp <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"POST和Get.rc2 <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"POST和Get.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"POST和Get.opt <span style='color:#111;'> 55.50KB </span>","children":null,"spread":false},{"title":"MyHttp.h <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"POST和GetDlg.cpp <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":"POST和Get.dsw <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"POST和Get.clw <span style='color:#111;'> 733B </span>","children":null,"spread":false},{"title":"ZBase64.h <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"POST和Get.rc <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"md5.cpp <span style='color:#111;'> 9.34KB </span>","children":null,"spread":false},{"title":"POST和Get.aps <span style='color:#111;'> 19.52KB </span>","children":null,"spread":false},{"title":"MyHttp.cpp <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"POST和Get.cpp <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"POST和GetDlg.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"POST和Get.h <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"POST和Get.exe <span style='color:#111;'> 124.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"ZBase64.cpp <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"POST和Get.plg <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"POST和Get.dsp <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明