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

215
Views
¿Por qué mi aplicación node.js no interactúa con el back-end en Cpanel cuando hago una solicitud? necesito respuestas urgentes por favor
Client-Side Code: $.ajax({ url: '/testdb', method: 'POST', contentType: 'application/json', data: JSON.stringify({ mssg: "idea" }), success: ({mssg}) => { if(mssg === true){ //location.replace(document.referrer); alert("success") //var readerId = document.querySelector(".checkProfile").innerHTML.replace(/\s/g, ''); //location.assign('index'); }else{ alert("failure") } } })

este es el código de cliente al hacer la solicitud. Pero el código del servidor no recibe la solicitud en cpanel y estoy seguro de que funciona en localhost.

Código del lado del servidor

 router.post("/testdb", parser, test);
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!