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

72
Vistas
HTTP request through code only. Possible or not?

I'm looking to make a URL's response only accessible through an HTTP request through JavaScript XHR / Jquery Ajax / Node Axios / Curl / whatever, you get it. For example, say you make a RESTful API request to a given URL endpoint. I want this given endpoint to only be accessible through an HTTP request through code only. Another words, I don't want people to access the URL's content via browser.

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

0

If the API expects for example a custom header (X-Called-By=not a browser) then it is unlikely that someone will accidentally navigate to that content using a browser.

However, this doesn't add to the security of the system. If you want to protect the API from unintended users, then use authentication and authorization.

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