Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

97
Views
Batch upload files into bundles that don't exceed certain Kb size in a multipart form API post request in JavaScript

I have a requirement to upload multiple files (up to 20) to the server. It must be done as a multipart form API post request. Each file has a set of its own metadata that will be sent along with the file. They must be batched into bundles of maximum 50Kb. For example: user trying to upload 20 files where 19 are 49Kb and 1 file is 1Kb will result in 2 API calls. If user is trying to upload 20 files where each is 50Kb then 20 API calls will be made.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!