
$.ajax({
type: "GET",
url: "http://spartacodingclub.shop/sparta_api/seoulair",
data: {},
success: function(response){
let rows = response['RealtimeCityAir']['row']
for (let i = 0; i < rows.length; i++){
let gu_name = rows[i]['MSRSTE_NM']
let gU_mise = rows[i]['IDEX_MVL']
console.log(gu_name,gu_mise)
}
}
})
똑같이 첫 번째 코드로 입력했는데 두 번째 사진처럼 에러가 나옵니다.
워가 잘못된건가요?
