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

133
Views
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
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!