Skip to content

Commit

Permalink
Merge pull request #282 from gunsight1/fix_kakaoRequest_header
Browse files Browse the repository at this point in the history
fix ::  카카오 요청 헤더 속성값 변경
  • Loading branch information
gunsight1 authored Mar 8, 2024
2 parents 56111bb + 097d20d commit ab06bda
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public KakaoUserDto getKakaoUserByToken(String accessToken) {

headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
headers.set("Authorization", "Bearer "+accessToken);
headers.set("charset", "utf-8");
headers.set("Content-type", "application/x-www-form-urlencoded;charset=utf-8");


HttpEntity<String> requestEntity = new HttpEntity<>(headers);
RestTemplate restTemplate = new RestTemplate();
Expand Down

0 comments on commit ab06bda

Please sign in to comment.