http post 方法傳遞參數的2種方式

try{ HttpPost httpPost = new HttpPost(url); StringEntity stringEntity = new StringEntity(param);//param參數,能夠爲"key1=value1&key2=value2"的一串字符串 stringEntity.setContentType("application/x-www-form-u
相關文章
相關標籤/搜索