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

160
Vistas
Intercepting and rerouting http request sent by javascript scripts to a different server

Assuming I have a simple html + javascript application. I have a script from a cdn included in the html via the script:src tag. This script sends a request to a server using jquery's ajax library. Is it possible to intercept and send the request made by the script to a different server instead of the server that it currently sends the request to.

The script sends a request to a server but I would like to send the request first to my personal api, inject some headers using data that is only available in my api, then send the request to their server from my api, thus using my api server as a proxy.

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