섹션2-8 openWeatherMap API
const weatherSearch = function (position) { const openWeatherRes = fetch( `https://api.openweathermap.org/data/2.5/onecall?lat=${position.latitude}&lon=${position.longitude}&appid=4bdfd4f45f4d597908e29058919e8707` ); console.log(openWeatherRes); }; const accessToGeo = function (position) { const positionObj = { latitude: position.coords.latitude, longitude: position.coords.longitude, }; weatherSearch(positionObj); }; const askForLocation = function () { navigator.geolocation.getCurrentPosition(accessToGeo, (err) => { console.log(err); }); }; askForLocation();
fetch 안에 2.5로 변경해도 계속 오류가 떠요 ㅠ

어떻게 해야하나요?
답변 1
0
안녕하세요! 소진님!
동일한 질문에 대한 답변이 기존에 존재하여, 링크를 보내드립니다!
아래 링크를 확인해 주세요!
윈도우에서 Node js를 설치하고 싶어요
0
8
0
그래프 ql 문서 사용할때 느낌표 남는거 어떻게 없애나요?
0
102
2
강의 전체 소스 코드를 받고싶습니다.
0
92
2
fontawesome 사용 문의
0
96
2
소스 코드 부탁드립니다~
0
99
2
깃 레포지터리 소스
0
96
2
커리큘럼12.css 정렬 에 나오는 과제 정답알고싶어요
0
81
2
10-01 Entity TypeOrmModule.forRoot 에 entities
0
101
3
강의 버전관련 문의입니다
0
111
2
Ubuntu 설치 관련
0
73
1
schema.gql 질문 드립니다.
0
63
1
서버 재실행시 Many to Many
0
119
3
input 관련 문의
0
97
2
Rest API 보다는 graphql이 주된 내용인데
0
145
2
강의 전체 소스코드 받을수있을까요?
0
170
1
도커볼륨 마운트 관련
0
136
2
findOne 타입스크립트오류
0
116
1
http => htrtps 호출 인증서 신뢰 오류
0
374
1
self-signed certificate in certificate chain 에러 발생
0
439
1
mongoose 설치 오류
0
149
1
특정 API, 특정 IP 허용 (단일경로에 CORS 활성화)
0
300
2
08-06
0
188
3
구조랑 패턴 관련해서 질문
0
134
2
mydocker
0
135
2





