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

154
Views
xhr.js:210 POST http://localhost:5000/auth/signup 404 (No encontrado)
 Heres my backened code with the included routes. Im not sure if the error is located here but ive read some articles that it is most likely an issue with your backenend but i don't have the experience to detect what is wrong, Im looking to see if anyone can detect an issue. const express = require('express'); const { signup, login } = require('../controllers/auth.js'); const router = express.Router(); router.post('/signup', signup); router.post('/login', login); module.exports = router;

Sigo recibiendo un error 404 por alguna razón. No estoy seguro si es mi ruta de URL o un error dentro de mi código respaldado.

 const handleSubmit = async (e) => { e.preventDefault() const { username, password, phoneNumber, avatarURL } = form; const URL = 'http://localhost:5000/auth'; const { data: { token, userId, hashedPassword, fullName } } = await axios.post(`${URL}/${isSignup ? 'signup' : 'login'}`, { username, password, fullName: form.fullName, phoneNumber, avatarURL, }); window.location.reload(); }
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!