Skip to content

Commit

Permalink
[fix] 재난문자 테스트 수정 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
ri-naa committed Jan 10, 2024
1 parent d6fd077 commit fae197d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public MessageResponse message(User user) throws IOException, ParseException {
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
conn.setRequestProperty("Content-type", "application/json");
System.out.println("Response code: " + conn.getResponseCode());
// System.out.println("Response code: " + conn.getResponseCode());


BufferedReader rd;
Expand All @@ -62,7 +62,7 @@ public MessageResponse message(User user) throws IOException, ParseException {
// HTTP 연결 닫기
conn.disconnect();
String responseBody = sb.toString();
System.out.println(responseBody);
// System.out.println(responseBody);

//파싱
JSONParser jsonParser = new JSONParser();
Expand Down

0 comments on commit fae197d

Please sign in to comment.