Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Kwpolska
· 1y ago · 0 comments
403/404 seems to be the response to GET, not POST. In which case 405 Method Not Allowed would be better.
Comments
[–]
whenlambo
1y ago
And 405 response must include `Allow: POST` header.
[–]
raldi
1y ago
Oh, I misread. Indeed, 4xx makes sense for a GET.