In volley library giving com.android.volley.ServerError

后端 未结 6 1498
死守一世寂寞
死守一世寂寞 2021-02-09 05:30

I try to login in my application, when I try to call API using volley library, it\'s giving com.android.volley.ServerError and response code 400.

final String u         


        
6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-09 06:02

    You have to have a same Method in your java codes and in the php codes . you defined "POST" method for your request with volley library to server , now you have to have "POST" method in your php files at your server for giving the request .

提交回复
热议问题