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

205
Views
POST http://127.0.0.1:5500/ 405 (método no permitido). XMLHttpSolicitud

contact_form.addEventListener('enviar', (e) => { e.preventDefault()

 const formData = { name: names.value, email: email.value, subject: subject.value, message: message.value } let xhr = new XMLHttpRequest() xhr.open('POST', '/') xhr.setRequestHeader('Content-type', 'application/json') xhr.onload = function () { console.log(xhr.responseText); if (xhr.responseText == 'success') { alert('email send'); names.value = ""; email.value = ""; subject.value = ""; message.value = ""; } else { alert('Something is wrong') } } xhr.send(JSON.stringify(formData));

});

esto es codigo

POST http://127.0.0.1:5500/ 405 (método no permitido) error al que me enfrento

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!