let weather_url = "http://spartacodingclub.shop/sparta_api/weather/seoul"; fetch(weather_url) .then(res => res.json()) .then(data => { console.log(data); })
위 코드를 <script> </script> 사이에 넣었는데, -- 으로만 나오고 있습니다. 혹시 저 URL이 안되는 걸까요?