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

123
Vistas
Intercept outgoing HXR requests and their content

I am looking to monitor all outgoing HXR requests on the page in order to intercept a specific one that I wish to extract its data to log.

Here's the specific request I am trying to intercept:

Request header from the console

Request body I want to extract

Here's what I tried so far:

(function(send) {
XMLHttpRequest.prototype.send = function(body) {
    var info="send data\r\n"+body;
    console.log(info);
    send.call(this, body);
};
})(XMLHttpRequest.prototype.send);

This seems to be somehow working because I get some requests logged in the console but not the ones I am looking for. I also get some send data [object FormData] logged.

I am probably missing something about which HXR requests I am intercepting with my script and would love some help! Thanks for your time!

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

0

This may just be the reason for the implicit conversion, you can try the JSON.Stringify(body) method.

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