skip to Main Content

php Get JSON from URL – Twitter API

There is an API that result is for example like this: // 20190920173100 //api.opencagedata.com/geoc { "documentation": "https://opencagedata.com/api", "licenses": [ { "name": "see attribution guide", "url": "https://opencagedata.com/credits" } ], "rate": { "limit": 2500, "remaining": 2493, "reset": 1569024000 }, "results": [ {…

VIEW QUESTION

onResponse(String response) try { JSONObject jsonObject=new JSONObject(response);java.lang.String cannot be converted to JSONObject – Phpmyadmin

I can't find answer. tried many websites including this. i want to know where from the problem coming. Error is: org.json.JSONException: Value connection of type java.lang.String cannot be converted to JSONObject This is my andorid code:- StringRequest stringRequest=new StringRequest(Request.Method.POST, URL_LOGIN,…

VIEW QUESTION
Back To Top
Search