Yelp API Validation Errors(400) - Android Studio
I want to do a simple experiment with the yelp api, but I'm stuck at startup and keep getting validation error. I checked and refreshed the API_key and BaseURL etc but the error persisted.
MainActivity.kt
private const val TAG = "MainActivity"
private const val BASE_URL = "
https://api.yelp.com/v3/"
private const val API_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {...