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

136
Views
Cómo pasar múltiples parámetros en la solicitud de URL Ajax en JavaScript

Estoy tratando de pasar dos parámetros en una URL a través de una solicitud ajax, como sigue:

 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' }); }

y la llamada de solicitud se ve así:

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

cuando acabo de pasar el equipo, la solicitud funciona perfectamente. Pero cuando agrego el clientID de cliente, da un error en la llamada.

¿Cómo llamo a dos o más argumentos que se implementan en la URL y llaman a la solicitud?

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!