ducdan / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Possibility to set http method #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello!

I can't see a possibility to set HTTP method (ex. PUT, DELETE).

Is there any way to set HTTP method?

Original issue reported on code.google.com by dred...@gmail.com on 16 Jan 2013 at 5:05

GoogleCodeExporter commented 8 years ago
Whoops, i found it. It is undocumented function method() in 
AbstractAjaxCallback, and it accepts next values from Constants
public static final int METHOD_GET = 0;
public static final int METHOD_POST = 1;
public static final int METHOD_DELETE = 2;
public static final int METHOD_PUT = 3;
public static final int METHOD_DETECT = 4;

Original comment by dred...@gmail.com on 16 Jan 2013 at 5:15

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I was searching too! Thanks. Please add this info to the wiki!

Original comment by d.bagate...@gmail.com on 13 Mar 2013 at 9:41

GoogleCodeExporter commented 8 years ago

Original comment by tinyeeliu@gmail.com on 18 Apr 2013 at 4:45