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

117
Views
Handle multiple requests in javascript fetch api

I am using javascript fetch-api to read files from a folder. Consider I have a folder named 'Bin_folder' which has 6 files

  1. file1.bin
  2. file2.bin
  3. file3.bin
  4. file4.bin
  5. file5.bin
  6. file6.bin

Now if 2 users are using my website at the same time ,

  • one user should get any two different files (ie.. file3.bin & file5.bin)
  • the other user should get any other two
  • files should be unique

How can I do this in javascript without the use of node.js.?

fetch('Bin_folder/'+ selectedFile)
                  .then(response => response.arrayBuffer())
                  .then(data => {
                             // Data process //
                                 })
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!