Skip to content Skip to sidebar Skip to footer

Https Volley Invalid Header Issue

Before all : if you don't know the exact answer so just give me advice how to check. Thanks I have alreary tried a lot of different way how to implement ssl to my volley request bu

Solution 1:

So eventyally in my case, I don't know why , but I just deleted Content-type header with the value from the response, and all is ok.

My answer was found here

Android Volley gives me 400 error

Solution 2:

The Content-Type header is not treated the same way as other headers by Volley. In particular, overriding getHeaders() to change the content type does not always work. Check this ans for more information

Solution 3:

Try this

headers.put("Content-Type", "application/json");

Post a Comment for "Https Volley Invalid Header Issue"