delphi Post数据到网页
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                delphi Post数据到网页
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.                        
                                
                            
                            
                            varhttp: TIdHttp;sendtoserver: TStringStream;str: string; 
beginhttp := TIdHttp.Create();                                       // 創(chuàng)建http.HandleRedirects := True;                                   // 允許轉頭http.ReadTimeout := 3000;                                       // 延遲時間http.Request.ContentType := 'application/json';                 // 要求格式sendtoserver := TStringStream.Create(joserv.AsJSON());str := http.Post('http://192.168.1.149/epark/WinData.php', sendtoserver);   // 服務器端
end;
  
                        
                        
                        ?
轉載于:https://www.cnblogs.com/studypanp/p/4906371.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結
以上是生活随笔為你收集整理的delphi Post数据到网页的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: Java并发编程--理解ThreadLo
- 下一篇: MyBatis入门(二)---一对一,一
