3 ms·
Alternative HTTP methods (only GET and POST are supported in HTML forms). Also, there is the setting of HTTP headers which requires JavaScript.
by mscdex 9y ago
Alternative HTTP methods (only GET and POST are supported in HTML forms).
Also, there is the setting of HTTP headers which requires JavaScript.
- eberkund 9y agoI just use a hidden field to handle that. <input type="hidden" name="_method" value="PATCH">
- abritinthebay 9y agoThat 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.