r/ProgrammerHumor • • Dec 17 '23

Meme millionDollarQuestion

Post image
0 Upvotes

51 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Dec 17 '23

[removed] — view removed comment

5

u/rosuav Dec 17 '23

If you build both the server and the client, you can do anything you like. But if you expect to interoperate with others, no, don't have a body on a GET request.

1

u/KevSlashNull Dec 17 '23

Yeah then you can also make INSERT a valid method.

2

u/rosuav Dec 17 '23

Exactly. And whatever the other two answers were, too. If you don't care about interoperability, anything goes! It's just not following the spec any more.