Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

70
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!