Delphi Idhttp的get和post方法
来源:互联网 发布:苹果电脑系统备份软件 编辑:程序博客网 时间:2024/06/04 18:21
Post
var
Param:TStringList;
RStream:TStringStream;
begin
Param:=TStringList.Create;
RStream:=TStringStream.Create('');
Param.Add('username=showlee000');
Param.Add('normModPsp=********');
Param.Add('mem_pass=true');
IdHTTP1.Post('Http://URL',
Param,RStream);
memo1.Text:=RStream.DataString;
Get
idHttp1.Request.CustomHeaders.Text :=
'Accept: image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*'+
#13+#10+'Referer:http://url'+
#13+#10+'Accept-Language: zh-CN' +
#13+#10+'User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)'+
#13+#10+'Accept-Encoding: gzip, deflate'+
#13+#10+'Host: ***'+
#13+#10+'Connection: Keep-Alive'+
#13+#10+'Authorization: Basic *****=';
IdHTTP1.get('http://url');
- Delphi Idhttp的 Get 和 Post 方法
- Delphi Idhttp的get和post方法
- delphi的idhttp的get 和 post的使用
- delphi的idhttp的get 和 post的使用
- delphi的idhttp的get 和 post的使用
- Delphi Idhttp的post方法
- [delphi]indy idhttp post方法
- [delphi]indy10 idhttp get方法
- [delphi]indy10 idhttp get方法
- [delphi]indy10 idhttp get方法
- Delphi IDHTTP控件:GET/POST 请求
- Delphi IDHTTP控件:GET/POST 请求
- Delphi IDHTTP控件:GET/POST 请求
- delphi idhttp post应用
- delphi idhttp post
- delphi IdHTTP实现Get方法下载文件,断点续传
- idhttp中对于post方法的定义
- 用idhttp post 方法发送数据到服务器上。实现数据和网页的交互。
- Robotium针对只有apk包的测试入门例子
- ubuntu 启动流程
- apache ab 压力测试
- 磁盘快照技术
- Leetcode Container with Most Water
- Delphi Idhttp的get和post方法
- 二分查找小结
- iphone应用程序生命周期
- CentOS 6.4安装配置LAMP服务器(Apache+PHP5+MySQL)
- centos 下单独编译mysql.so模块
- 判断 2个 平行于坐标系轴的正方形是否有重叠
- hdu4405——Aeroplane chess
- Linux常用系统信息查看命令
- 根据rdba得出具体的数据块,以及找到相应的object