1

I have a Django Rest API for adding multiple images to a database. I am using React JS as my client side and to need to upload multiple images. I am using this component for uploading images in the client side.

https://ant.design/components/upload/

When calling the Django REST API, it shows the error "the submitted data was not a file. Check the encoding type on the form."

Chad Nouis
  • 6,861
  • 1
  • 27
  • 28

0 Answers0