I just use a hidden field to handle that.
<input type="hidden" name="_method" value="PATCH">
Re:Substituting JavaScript with HTML
by abritinthebay on Saturday October 14, 2017 @09:02PM
(#15475259)
That doesn’t actually handle that however (you’re just telling a server that your get/post intends something else).
The server has to support it.
Also, there is the setting of HTTP headers which requires JavaScript.