Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

253
Vistas
I want to get the data from the nested document in mongodb when i console.log() my data using axios

when I make a user I want to make a subdocument and when I put the request to Axios to console.log(res.data) I get this the console

my axios request

 const UserInfo = {
    Name,
    Email,
    Password,
    PhoneNumber,
    Likees
    }

 axios.post('http://localhost:300/Register',UserInfo)
 .then(resposne => {
  console.log(resposne.data)
 }) 
 .catch(err => {
  console.log(err.response.data.error);
console.log(err)
 })

}

the data I want to see in the console data

how can I access the data inside of my documents and my nested document or how can access the prototype to get all of the objects from there

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda