250x250
반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 비절차적 데이터 조작어
- MYSQL
- dom
- SQLD
- 정보처리기사
- coalesce
- sql 저장 모듈
- 자료구조
- python
- searched case expression
- JavaScript
- 문법 차이
- Node.js
- window 함수
- Oracle
- show graph characteristics
- git
- 기업 협업
- 코드 스니펫
- 뷰
- list multiplication
- execute immediate
- 정규식 연산
- dense rank
- simple case expression
- 위코드
- GROUPING
- html
- SQL
- ROLLUP
Archives
- Today
- Total
프로그래밍 숲
TypeError: this.client.send is not a function (with Postman) 본문
Error Handling/applications
TypeError: this.client.send is not a function (with Postman)
jjscript 2023. 5. 20. 17:07728x90
반응형
상황
postman으로 req.file을 body에 담아서 post 하려고 함.
해결

router.post('/', upload.single('img'), postController.createPost);
포스트맨 form-data의 KEY값과 postRouter.js의 upload.single(’img’)에 해당하는 값이 일치해야 함
728x90
반응형
Comments