Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tracker1
on May 29, 2024
|
parent
|
context
|
favorite
| on:
API Shouldn't Redirect HTTP to HTTPS
You'd be surprised... generally if there's a dedicated hostname for the API, I would expect / to either display or redirect to API docs.
Also, doesn't help when you're reverse proxying /api to $API/api
inopinatus
on May 30, 2024
[–]
Posting on this forum means you are probably not J. Random User. I mean specifically anyone who will not grasp the difference between
http://
and
https://api.example.com
.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Also, doesn't help when you're reverse proxying /api to $API/api