I am using Ion library and i should say that is awesome. but i cannot find a documentation for creating PUT , DELETE , GET request? if it can handle this REST Request can you guide me ?
Asked
Active
Viewed 2,325 times
2 Answers
17
Use the .load(METHOD, URL) call to specify an HTTP verb.

koush
- 2,972
- 28
- 31
-
5Thank you dear koush. Your library is awesome and make my programming life so much easier – Navid_pdp11 Jan 19 '15 at 07:30
2
PUT Request
void PutRequest(String URL)
{
Ion.with(mContext)
.load("PUT",URL)
.setBodyParameter("name","foo")
.asString();
}
it may help you. Check this url also https://github.com/koush/ion

CLIFFORD P Y
- 16,974
- 6
- 30
- 45
-
1@JPn you can use `DELETE` as method in the above sample in place of `PUT`. – CLIFFORD P Y Jul 31 '16 at 14:16