I\'m trying to make a POST
request to my API and it works in Postman
(I get a valid JSON object), but not using Volley
. With the follo
I've got this error and now Iit's been fixed. I did what is told in this link. What you need to do is
if (statusCode < 200 || statusCode > 299) {
throw new IOException();
}
with
if (statusCode < 200 || statusCode > 405) {
throw new IOException();
}
Hope this helps.