delphi IDHttp Post


本文整理自网络,侵删。

 
procedure TForm1.Button1Click(Sender: TObject);var  T: TStringStream;  ts: TStringList;  SvrUrl, postUrl: string;begin  SvrUrl := 'http://app.25hours.cc:6077/webservice/25hours.asmx/StruUp';  postUrl := '';  ts := TStringList.Create;  ts.Text := 'data={"ShopID":1,"SyncVer":200}';  T := TStringStream.Create('', tencoding.UTF8);  IdHTTP1.Post(SvrUrl + postUrl, ts, T);  Memo1.Text := T.DataString;end;

相关阅读 >>

Delphi idhttp post json 上传 php 接收

Delphi 查看字符串在不同编码(ascii、unicode、utf7、utf8、default、bigendianunicode)下的 hex

Delphi tbitmap创建时提示object or class type required

Delphi 查看 dll 的输出函数列表

Delphi xe 播放 gif 动画

检测是否按下键盘或鼠标,如果超过5分钟没有操作则认为用户已经离开

Delphi winsock远程唤醒计算机的函数

Delphi计算md5

Delphi 存储文件到数据库

Delphi操作access数据库

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...