antibot in server free to use volley api in android

Viewed 9
        String url = "https://misitioeducativo.me/PHP/probar.php";
        JsonArrayRequest jsonObjectRequest = new JsonArrayRequest(
                Request.Method.GET,
                url,
                null,
                (Response.Listener<JSONArray>) response -> {

                },
                error -> System.out.println(error.getMessage()+""));

        MySingleton.getInstance(context).addToRequestQueue(jsonObjectRequest);

error: org.json.JSONException: Value <script of type java.lang.String cannot be converted to JSONArray

0 Answers
Related