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

kkuma

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

kkuma

검색하기 폼
  • 분류 전체보기 (66)
    • Programming (58)
      • Python (18)
      • Java (12)
      • Node.js (11)
      • JavaScript (6)
      • Vue (0)
      • Git (2)
      • Other (9)
    • Book (2)
      • Google Analytics (2)
    • Tistory (1)
    • Others (5)
  • 방명록

multer (1)
[Node.js] Using multer to upload image 이 페이지는 multer를 이용한 이미지 업로드 및 폼데이터 처리방식을 설명하고 있다. (* 아래 코드는 React.js와 Node.js 언어로 구현되어있다) # 설치 express와 함께 사용할 multer 모듈을 설치한다. npm install multer --save # React.js multer는 multipart/form-data에서만 동작하니 주의해주세요. const formData = new FormData(); formData.append("image", file); Axios.post('/api/upload', formData, { headers: { 'Content-Type': 'multipart/form-data' } } ).then((res) => { console.log('SUC..
Programming/Node.js 2019. 4. 6. 11:27
이전 1 다음
이전 다음
최근에 올라온 글
TAG
  • S3
  • AWS
  • 프로그래밍
  • JavaScript
  • Programming
  • Amazon
  • Spring
  • 스프링
  • Java
  • IT
  • node.js
  • nodejs
  • 자바스크립트
  • 파이썬
  • Python
more
«   2025/05   »
일 월 화 수 목 금 토
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
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바