title: Volley post request 415 error2
body: <pre><code>   JsonObjectRequest jor = new JsonObjectRequest(JsonObjectRequest.Method.POST, url, json, new Response.Listener&lt;JSONObject&gt;() {
          @Override
          public void onResponse(JSONObject response) {
              Log.d("glamour", response.toString());
              Toast.makeText(WelcomeActivity.this, "onResponse: " + response.toString(), Toast.LENGTH_SHORT).show();
          }
      }, new Response.ErrorListener() {
          @Override
          public void onErrorResponse(VolleyError error) {
              //Log.e("glamour", error.getMessage());
              error.printStackTrace();
              Toast.makeText(WelcomeActivity.this, "onErrorResponse: " + error.getMessage(), Toast.LENGTH_SHORT).show();
          }
      }) {
          @Override
          public Map&lt;String, String&gt; getHeaders() throws AuthFailureError {
              Map&lt;String, String&gt; headers = new HashMap&lt;&gt;();
              headers.put("Accept", "application/json");
              headers.put("Content-Type", "application/json; charset=UTF-8");
              return headers;
          }
      };
  
      mQueue.add(jor);
  </code></pre>
  
  <hr>
  
  <p>erro info :
  BasicNetwork.performRequest: Unexpected response code 415 for <a href="http://192.168.1.103:8080/appapi/customer/login/v3" rel="nofollow">http://192.168.1.103:8080/appapi/customer/login/v3</a></p>
  
  <p>how to fix it?
  please help.</p>