쌩 자바스크립트 fetch로 AJAX요청

걍걍규·2023년 6월 13일
0
post-thumbnail
fetch('https://~~링크.json')
  .then(res => res.json())
  .then(function(data){
    console.log(data)
  })
  .catch(function(error){
    console.log('실패함')
  })

헷갈릴 떄 와서 보려고 올렸읍니다

profile
안녕하시오?

0개의 댓글