From a1c783de158879cf623e0ebae4a70e71fe0fc6db Mon Sep 17 00:00:00 2001 From: "hehihoho3@gmail.com" Date: Thu, 16 Oct 2025 10:34:18 +0900 Subject: [PATCH] =?UTF-8?q?api=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=83=98?= =?UTF-8?q?=ED=94=8C=20=ED=8E=98=EC=9D=B4=EC=A7=80=20URL=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=5F=20=EB=A1=9C=EC=BB=AC=20->=20=EA=B0=9C=EB=B0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sample_mjon/jsp_example_inqry_templates_detail_r1.jsp | 4 ++-- .../sample_mjon/jsp_example_inqry_templates_list_r1.jsp | 4 ++-- src/main/webapp/sample_mjon/jsp_example_send_at_r1.jsp | 1 + src/main/webapp/sample_mjon/jsp_example_send_ft_r1.jsp | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/sample_mjon/jsp_example_inqry_templates_detail_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_inqry_templates_detail_r1.jsp index 0620275..3f5f255 100644 --- a/src/main/webapp/sample_mjon/jsp_example_inqry_templates_detail_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_inqry_templates_detail_r1.jsp @@ -29,8 +29,8 @@ //String apiKey = request.getParameter("p_apiKey"); //발급받은 api key /******************** 전송 요청 URL ********************/ -// final String apiUrl = "http://119.193.215.98:8087/api/kakao/inqry/templates/detail"; //템플릿 상세 조회 API URL - final String apiUrl = "http://localhost:8088/api/kakao/inqry/templates/detail"; //템플릿 상세 조회 API URL + final String apiUrl = "http://119.193.215.98:8087/api/kakao/inqry/templates/detail"; //템플릿 상세 조회 API URL +// final String apiUrl = "http://localhost:8088/api/kakao/inqry/templates/detail"; //템플릿 상세 조회 API URL /******************** 전송 정보 ********************/ //필수 값 diff --git a/src/main/webapp/sample_mjon/jsp_example_inqry_templates_list_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_inqry_templates_list_r1.jsp index fb66c74..9d51c9d 100644 --- a/src/main/webapp/sample_mjon/jsp_example_inqry_templates_list_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_inqry_templates_list_r1.jsp @@ -29,8 +29,8 @@ //String apiKey = request.getParameter("p_apiKey"); //발급받은 api key /******************** 전송 요청 URL ********************/ -// final String apiUrl = "http://119.193.215.98:8087/api/kakao/inqry/templates/list"; //템플릿 목록 조회 API URL - final String apiUrl = "http://localhost:8088/api/kakao/inqry/templates/list"; //템플릿 목록 조회 API URL + final String apiUrl = "http://119.193.215.98:8087/api/kakao/inqry/templates/list"; //템플릿 목록 조회 API URL +// final String apiUrl = "http://localhost:8088/api/kakao/inqry/templates/list"; //템플릿 목록 조회 API URL /******************** 전송 정보 ********************/ //필수 값 diff --git a/src/main/webapp/sample_mjon/jsp_example_send_at_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_send_at_r1.jsp index a56c075..128cf32 100644 --- a/src/main/webapp/sample_mjon/jsp_example_send_at_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_send_at_r1.jsp @@ -19,6 +19,7 @@ try { // ===== 전송 URL ===== // final String apiUrl = "http://119.193.215.98:8087/api/kakao/at/sendMsg"; final String apiUrl = "http://119.193.215.98:8087/api/kakao/at/sendMsg"; +// final String apiUrl = "http://localhost:8088/api/kakao/at/sendMsg"; String p_mberId = request.getParameter("mberId"); //사용자 ID diff --git a/src/main/webapp/sample_mjon/jsp_example_send_ft_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_send_ft_r1.jsp index 9fb70e8..f13649b 100644 --- a/src/main/webapp/sample_mjon/jsp_example_send_ft_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_send_ft_r1.jsp @@ -24,8 +24,8 @@ try { final String MBER_ID = "dudgusw"; final String API_KEY = "3429312e6a2c732188d4cc7d15d8a1baa01d8d91"; - // final String apiUrl = "http://119.193.215.98:8087/api/kakao/ft/sendMsg"; - final String apiUrl = "http://localhost:8088/api/kakao/ft/sendMsg"; + final String apiUrl = "http://119.193.215.98:8087/api/kakao/ft/sendMsg"; +// final String apiUrl = "http://localhost:8088/api/kakao/ft/sendMsg"; // ===== multipart 파싱 (텍스트/파일 모두 수집) ===== Map form = new LinkedHashMap<>();