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

135
Vistas
How to pass multiple parameter in URL Ajax request in JavaScript

I'm trying to pass two parameters in a url via an ajax request, like as follows:

  function request(time, clientId) {
  return $.ajax({
  url: 'https://myURL/api/v1/get-infoDevices?value=Logs&duration=86400000&time='+time+'&ID='+clientId,
  type: 'get',
  contentType: 'application/json',
  dataType: 'json'
  });
  }

and the request call looks like this:

request((input.dashboard.time, input.ctx.clientId).done((res) =>{
   code hear
}

when I just pass the team, the request works perfectly. But when I add the clientID, it gives an error in the call.

How do I call two or more arguments implementing in the url and calling in the request?

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