From e91cf5d27cd0eb87efe100b6766798e8b980be75 Mon Sep 17 00:00:00 2001 From: ragdoll Date: Sun, 27 Jun 2021 23:28:02 +0900 Subject: [PATCH] =?UTF-8?q?Style:=20GetResponse=20post=20=EC=9A=94?= =?UTF-8?q?=EC=B2=AD=20=EB=A9=94=EC=84=9C=EB=93=9C=20=EC=A0=9C=EB=84=A4?= =?UTF-8?q?=EB=A6=AD=20=ED=83=80=EC=9E=85=20=EC=84=A0=EC=96=B8=20=EC=88=9C?= =?UTF-8?q?=EC=84=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 가독성을 위해 변경 [#45] --- .../java/com/careerzip/global/newsletter/GetResponseClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/careerzip/global/newsletter/GetResponseClient.java b/src/main/java/com/careerzip/global/newsletter/GetResponseClient.java index c0ecd88..26e07a0 100644 --- a/src/main/java/com/careerzip/global/newsletter/GetResponseClient.java +++ b/src/main/java/com/careerzip/global/newsletter/GetResponseClient.java @@ -28,7 +28,7 @@ public T getRequest(String requestPath, Class payloadType) { return response.getBody(); } - public T postRequest(String requestPath, Class payloadType, B requestBody) { + public T postRequest(String requestPath, B requestBody, Class payloadType) { RestTemplate restTemplate = new RestTemplate(); URI requestURI = createGetResponseRequestURI(requestPath); HttpHeaders headers = createRequestHeaders();