His point was that method names are just a string and you can send anything and it does not matter. As you just pointed out this is indeed not the case. And yeah, the RFCs can be horrible in that regard - I am maintaining an Open Source server for C# so I know the struggles.
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.
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“
View all comments
Show parent comment
2
u/Ok_Tour_8029 May 15 '26
His point was that method names are just a string and you can send anything and it does not matter. As you just pointed out this is indeed not the case. And yeah, the RFCs can be horrible in that regard - I am maintaining an Open Source server for C# so I know the struggles.