Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wired_devil
on Feb 2, 2020
|
parent
|
context
|
favorite
| on:
HTTP 402: Payment Required
It is easier for the frontend developer to look only to the status code of the response and pop up a paywall or something, rather than some message in the boby. The same goes for 401 Unauthorized or 403 Forbidden, etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: