Android Volley BasicNetwork.performRequest() unexpected response code 404
Generally this response is caused by sending wrong parameters with the URL. Please check every parameter with spelling and make sure if response is obtained in string or in object. Also check Content-type.
Hope this will help you.
Thank you.
If GET is working and POST is not, and you get 404 response it means that your post request can't be routed by the server. I had the same problem and the solution was simple. I've made my server in NodeJS and I didn't handle POST action for my URL. I was testing it with get and everything was fine.
My test method on node server with Express was:
app.get('/data/helloWorld', routeData.helloWorld);
And of course I should add a route for post method.
app.post('/data/helloWorld', routeData.helloWorld);