Skip to content

Commit

Permalink
Merge pull request #6 from hanaTI-team-1/yebang-checklist
Browse files Browse the repository at this point in the history
Fix: Update kakao api key
  • Loading branch information
Minjae-vincent authored Jul 15, 2024
2 parents 2230c5b + c16267a commit e9eecf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public String getLoadNameAddress(double lat, double lon) {
final String KAKAO_API_URL = "https://dapi.kakao.com/v2/local/geo/coord2address.json?x={0}&y={1}";
String url = MessageFormat.format(KAKAO_API_URL, String.valueOf(lon), String.valueOf(lat));
HttpHeaders headers = new HttpHeaders();
headers.set("Authorization", "KakaoAK 06f4209ef83a0d441ebcff2a3f8bc2b8");
headers.set("Authorization", "KakaoAK 80edc5e368a1852e4a54b6e16d29e8d7");
HttpEntity<String> entity = new HttpEntity<>(headers);
ResponseEntity<String> response = restTemplate.exchange(url, HttpMethod.GET, entity, String.class);
// log.info("url : {}", url);
Expand Down

0 comments on commit e9eecf2

Please sign in to comment.