diff --git a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java index 354f462..fd4d167 100644 --- a/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java +++ b/src/main/java/cokr/xit/ens/modules/kkotalk/service/support/KkoTalkApiService.java @@ -380,7 +380,7 @@ public class KkoTalkApiService { HttpHeaders headers = new HttpHeaders(); headers.setContentType(new MediaType(MediaType.APPLICATION_JSON, Charset.forName("utf-8"))); headers.set(HttpHeaders.AUTHORIZATION, String.format("KakaoAK %s", orgMng.getKakaoDealerRestApiKey())); - headers.set("Target-Authorization", orgMng.getKakaoPartnerRestApiKey()); + headers.set("Target-Authorization", String.format("KakaoAK %s", orgMng.getKakaoPartnerRestApiKey())); headers.set("settle-Id", IS_PROFILE_LOCAL ? orgMng.getKakaoDevSettleId() : orgMng.getKakaoProdSettleId()); return headers; diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml index 03c16c5..4de9f04 100644 --- a/src/main/resources/application-local.yml +++ b/src/main/resources/application-local.yml @@ -65,5 +65,5 @@ contract: kakao: talk: host: https://test-edoc-gw.kakao.com - send: /v1/envelopes/{PRODUCT_CODE}T;POST - bulksend: /v1/bulk/envelopes/{PRODUCT_CODE}T;POST + send: /v1/envelopes/{PRODUCT_CODE};POST + bulksend: /v1/bulk/envelopes/{PRODUCT_CODE};POST