Android Volley gives me 400 error

后端 未结 12 2134
借酒劲吻你
借酒劲吻你 2020-12-11 00:28

I\'m trying to make a POST request to my API and it works in Postman (I get a valid JSON object), but not using Volley. With the follo

12条回答
  •  旧巷少年郎
    2020-12-11 01:01

    Check if you are using correct SDK

    For Android Studio / IntelliJIDEA:

    File -> Project Structure -> Project -> Project SDK 
    Modules -> Check each modules "Module SDK" 
    

    Preferably, you should use "Google API (x.x)" instead of Android API

提交回复
热议问题