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

118
Vistas
Axios response.data returning different data vs network raw response

Im using Axios and Javascript to perform simple HTTP requests. Running a simple GET request I get this raw response from the network tab of inspect.

 "options": {
    "values": [
      {
        "key": "VA",
        "value": "12345"
      },
      {
        "key": "TX",
        "value": "54321"
      },
      {
        "key": null,
        "value": "11111"
      }
    ]
  }

However Axios request.data is giving me

 "options": {
    "values": [
      {
        "key": null,
        "value": "12345"
      },
      {
        "key": null,
        "value": "54321"
      },
      {
        "key": null,
        "value": "11111"
      }
    ]
  }

Any reason why Axios is parsing this incorrectly? Thanks!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I've found the issue. I'm using Vue and the data was being manipulated incorrectly by a component before the console.log was taking place.

about 4 years ago · Juan Pablo Isaza Denunciar
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