You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* HTTP GET method for JSON string. Check with {@code httpSuccess(...)} for status.
192
+
* Make HTTP GET request to URL and get JSON response. Check with {@code httpSuccess(...)} for status.
193
193
* @param url - URL address to call including all parameters
194
-
* @return JSONObject response of URL call - Note: if response is not JSON it will be placed e.g. as "STRING" field in the result.
194
+
* @return JSONObject response of URL call - Note:<br>
195
+
* if response is not JSON it will be placed e.g. as "STRING" field in the result or "JSONARRAY" if it's an array.
195
196
*/
196
197
publicstaticJSONObjecthttpGET(Stringurl) {
197
198
returnhttpGET(url, newString[0]);
198
199
}
199
200
/**
200
-
* HTTP GET method for JSON string. Check with {@code httpSuccess(...)} for status.
201
+
* Make HTTP GET request to URL and get JSON response. Check with {@code httpSuccess(...)} for status.
201
202
* @param url - URL address to call including none or only some parameters
202
203
* @param params - additional parameters added to URL (use e.g. "?q=search_term" or "&type=json" etc.)
203
-
* @return JSONObject response of URL call - Note: if response is not JSON it will be placed e.g. as "STRING" field in the result.
204
+
* @return JSONObject response of URL call - Note: if response is not JSON it will be placed e.g. as "STRING" field in the result or "JSONARRAY" if it's an array.
0 commit comments