본문 바로가기
백엔드 프레임워크/Django

[Trouble Shooting] "Missing filename. Request should include a Content-Disposition header with a filename parameter." 해결

by 프룹 2023. 2. 14.
반응형

 

## 문제사항

Django에서 Post 함수를 구현할 때 위와 같은 문제를 겪었다.

 

Postman에서 post로 호출하면서 나온 상황이다.

 

## 해결

header에 Content-Type: "application/json" 을 추가하면 된다.

반응형

댓글