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();