Re:I've been abusing HTTP Status Codes in my APIs for years
by JackFr on Wednesday July 13, 2022 @10:13AM
(#32083027)
This.
REST isn't RPC lite. If your mental model is that an HTTP GET is a function call, you think of 4xx's as exceptions, but that is not the correct mental model.
REST isn't RPC lite. If your mental model is that an HTTP GET is a function call, you think of 4xx's as exceptions, but that is not the correct mental model.