이전 예제 에서는 Restful API 중 get만 표현되어 있었다.Post를 어떻게 하는지 궁금해서 찾아 봤더니, HttpURLConnection은 기본으로 GET 을 쓰기 때문에, Post를 쓰려면 SetRequestMethod() 를 써주면 된다고 한다. URL httpbinEndpoint = new URL("https://httpbin.org/post");HttpsURLConnection myConnection = (HttpsURLConnection) httpbinEndpoint.openConnection(); myConnection.setRequestMethod("POST"); // Create the dataString myData = "message=Hello"; // Enable writi..