How can I upload files - images and documents - from Flutter to Strapi

System Information
  • Strapi Version: 4.3.4
  • Operating System: Windows 10
  • Database: Postgres
  • Node Version: >=12.x.x <=16.x.x
  • Yarn Version: >=6.0.0

Sending the files to “api/upload” as Uint8List - which is a buffer - or as a base64 String returns the error “Files are empty”. What format should files be in on upload from Flutter?

Did you solved it?