본문 바로가기

프론트엔드/라이브러리, api

Axios

Axios란?

Axios는 브라우저, Node.js를 위한 Promise API를 활용하는 HTTP 비동기 통신 라이브러리입니다.

쉽게 말해서 백엔드랑 프론트엔드랑 통신을 쉽게하기 위해 Ajax와 더불어 사용합니다.

 

axios 사용 방법

  1. axios 모듈 설치 => npm install axios --save
  2. 사용시 axios.get('https://api.pokeapi.org...')

'프론트엔드 > 라이브러리, api' 카테고리의 다른 글

Styled Component  (0) 2023.09.17
Firebase  (0) 2023.09.17
Vite  (0) 2023.09.10
JS - scrollMagic 라이브러리  (0) 2023.08.11
youtube iframe api  (0) 2023.08.11