[리액트] axios 설치 및 개념 정리
참고 블로그 axios 설치하기 yarn add axios axios 메쏘드 URL = API 주소 - GET: axios.get(url[, config]) - POST(추가): axios.post(url, data[, config]) - PUT(수정): axios.put(url, data[, config]) - DELETE(삭제): axios.delete(url[, config]) axios 기본 Params 1) Method 2) Url 3) Data (필수X) 4) Params (필수X) 기본사용법 post의 경우 url 밑에 data Object 추가 axios({ method: "get", url: "url", responseType: "type" }).then(function (response..