News for hackers. Stuff that matters.
Re:How to Design Better APIs by bluefirebrand on Saturday March 12, 2022 @05:49PM (#30655748)
My current company has settled on "We use GET to retrieve data from the server and POST to send data to the server, nothing else" because it was causing quite a lot of bikeshedding style discussions where people were fussing over "Should this be a post, put or patch"?

It all came to a head when someone wrote an endpoint using a PATCH verb that some people were adamant should have been a PUT.

It was among the most silly nonsense I have ever been a part of and these discussions have thankfully gone to zero since we decided on only GET and POST

There are no comments on this comment yet.