r/programminghumor • • May 15 '26

HTTP methods

Post image
820 Upvotes

119 comments sorted by

View all comments

Show parent comment

1

u/qorzzz May 16 '26

No the point was that whether you are operating a GET, POST, PUT, PATCH, DELETE, OPTIONS, etc. that there is technically nothing preventing you from treating any one of those like any other one of them. For example, there are no strict rules that prevent you from sending a request body along with a GET.

1

u/Ok_Tour_8029 May 16 '26

And yet there are rules you must follow - for my example: „The HEAD method is identical to GET except that the server MUST NOT send content in the response“