Making a HTTPS request using Android Volley

后端 未结 10 1741
庸人自扰
庸人自扰 2020-11-28 19:34

I am trying to make a https request using this code:

RequestQueue queue = Volley.newRequestQueue(getApplicationContext());
request = new Request

        
10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 20:22

    I got the same problem when I add ssl to the domain, After 2 days gone, I found the solution the URL is getting wrong . I was using https://example.com but when I add ssl into domain the url will be change

    https://www.example.com

    And POST is working fine

提交回复
热议问题