Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

118
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda