Skip to content

Commit

Permalink
Merge pull request #93 from locavell/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
m020202 authored Aug 22, 2024
2 parents d0446d7 + 78d5d0e commit 7ea89c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public String getRoadNameAddress(double latitude, double longitude) {
RestTemplate restTemplate = new RestTemplate();
UriComponentsBuilder uriBuilder = UriComponentsBuilder.fromHttpUrl(apiUrl)
.queryParam("coords", longitude + "," + latitude) // 좌표 순서 확인
.queryParam("orders", "roadaddr") // 도로명 주소를 요청
.queryParam("orders", "addr") // 지번 주소를 요청
.queryParam("output", "json");

HttpHeaders headers = new HttpHeaders();
Expand Down

0 comments on commit 7ea89c6

Please sign in to comment.