Volley send JSONObject to server with POST method
You can use the following working sample code. I have tested. Hope this helps! try { jsonBody = new JSONObject(); jsonBody.put(“Title”, “VolleyApp Android Demo”); jsonBody.put(“Author”, “BNK”); jsonBody.put(“Date”, “2015/08/26”); requestBody = jsonBody.toString(); StringRequest stringRequest = new StringRequest(1, url, new Response.Listener<String>() { @Override public void onResponse(String response) { textView.setText(response); } }, new Response.ErrorListener() { @Override public void … Read more