What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-03 19:51:15
how to read a .json from web api java
try { URL url = new URL("url"); HttpURLConnection conn = (HttpURLConnection)url.openConnection(); conn.setRequestMethod("GET"); conn.connect(); if(conn.getResponseCode() == 200) { Scanner scan = new Scanner(url.openS... Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5