본문 바로가기 메뉴 바로가기

둥이의 개발여행

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

둥이의 개발여행

검색하기 폼
  • 카테고리 (115)
    • 프로그래밍 (2)
    • Spring (15)
      • SpringFramework (0)
      • SpringBoot (12)
    • Java (53)
      • Java 기초 (16)
      • 프로그래머스 코테 (37)
    • DB (4)
      • SQL 개발자 시험 준비 (3)
      • SQL (1)
    • JavaScript (27)
      • deepDive (3)
      • 프로그래머스 코테 (1)
      • AngularJS (1)
    • HTML,CSS (3)
    • Frontend (2)
    • Git, Github (2)
    • IntelliJ (4)
    • 면접준비 (0)
    • React (2)
    • Redux (1)
  • 방명록

axios (1)
[JS] Javascript에서 Axios 사용하기

1. 라이브러리 추가 2. axios 사용법axios.get(url 주소)axios.post(url 주소, data 객체)//기본적으로 axios 메소드는 promise 객체를 return한다.axios .get(url 주소) .then(function(res){ // 성공 처리 }) .catch(function(error){ // 실패 처리 }) 3. axios 사용const url = "https://random-word-api.herokuapp.com/word?number=100";axios.get(url).then(function(res){ const status = res.status; const data = res.data; console.l..

JavaScript 2024. 6. 14. 14:21
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • fsd 구조
  • startsWith()
  • Object.clone()
  • Java
  • replace와 replaceAll의 차이점
  • 렌더링 과정
  • Replace
  • StringBuilder
  • 블록스코프
  • SQLD
  • useeffet
  • 엑셀 파일 추출
  • 호이스팅
  • slice
  • 마진과 패딩의 차이점
  • replaceAll
  • 중첩스코프
  • 프로그래머스
  • 배열 만들기3
  • rep;ㅁce
  • 스코프
  • 브라우저의 기본 구조
  • 신입개발자 면접 준비
  • fsd 아키텍처
  • n 번째 원소부터
  • nodelist
  • SQL 개발자
  • 문자열 반복하기
  • 대소문자 변환
  • 콜백 큐
more
«   2025/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바