5 ms·
> - GET, PUT, POST, DELETE (I learned there were others but were kind of niche/obsolete) > - 200s for success, 400s for client (request) error, 500s for server
by kowdermeister 10y ago
> - GET, PUT, POST, DELETE (I learned there were others but were kind of niche/obsolete)
> - 200s for success, 400s for client (request) error, 500s for server error.
You did good job there. Ignore naysayers just because then they have to do more work to handle your correct error codes and actually send correct HTTP methods.