
1.오픈웨더맵 홈페이지 내의 API 사용 설명에는 아래와 같이 나와있었습니다.
"https://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={API key}"
2.강의에서는 이런 식으로 VSCODE에 작성하였습니다.
const result = await axios.get(
`http://api.openweathermap.org/data/2.5/weather?lat=${latitude}&lon=${longitude}&appid=${API_KEY}&units=metric`
차이점은 "$"가 추가되었다는건데 "$"의 용도는 뭔가요?
