litesuits / android-lite-http

LiteHttp is a simple, intelligent and flexible HTTP framework for Android. With LiteHttp you can make HTTP request with only one line of code! It could convert a java model to the parameter and rander the response JSON as a java model intelligently.
http://litesuits.com?form=ghttp
Apache License 2.0
830 stars 347 forks source link

请问怎么使用PUT和DELETE请求?sample里貌似没发现 #19

Closed djun100 closed 8 years ago

litesuits commented 8 years ago

setMethod(HttpMethods method) 参数HttpMethods是个枚举,其中包括put delete

litesuits commented 8 years ago

参考POST方式,request.setHttpMethods(HttpMethods.Put);