网络通信

HTTP请求

microbee.http.utills.http.Httpclient
sendGet:发送get请求
doPostJson:发送post请求,参数为json数据
sendPost:发送post请求,参数为键值对


microbee.http.utills.http.Httpclient2
sendGet:发送get请求
doGetUrlEncode:发送get请求
doGetXMl:发送get请求,参数为Stringxml
doPostJson:发送post请求,参数为json数据
doPostXMl:发送post请求,参数为String xml
doPostFile:发送post请求,参数为multipart/form-data格式文件
doPutXMl:发送put请求,参数为Stringxml
doPutformdata:发送put请求,参数为multipart/form-data格式文件
doPutJson:发送put请求,参数为json数据

本文档来自—microbee-http 丨 软件开发框架平台