by Nathan
HTTP request
1. code 123456789101112131415161718192021222324252627282930313233343536373839404142import java.io.BufferedReader;import java.io.InputStreamReader;import java.net.URL;import java.net.URLConnection;import java.nio.charset.Charset; public class Test { public static void main(String[] args) { System.out.println("\nOutput: \n" + callURL("http://localhost:8888/test")); } public static String callURL(S..
Programming/JAVA
2017. 3. 20. 13:35