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 ?
Use the .load(METHOD, URL) call to specify an HTTP verb.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With