码迷,mamicode.com
首页 > 其他好文 > 详细

idhttp请求网址中的中文输入

时间:2014-09-09 15:03:48      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:http   sp   log   c   res   r   bs   as   text   

str:=AnsiToUtf8(用户名edit.Text);
   str:=HTTPEncode(str);
   str:=self.IdHTTP1.Get(‘http://127.0.0.1:8081/datasnap/rest/tprjmis/web_login/‘+httpencode(AnsiToUtf8(用户名edit.Text))+‘/‘+ HTTPEncode(AnsiToUtf8(密码edit.text)));

idhttp请求网址中的中文输入

标签:http   sp   log   c   res   r   bs   as   text   

原文地址:http://www.cnblogs.com/HuiLove/p/3962249.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!