Hi can I ask some help how can I perform the PUT method to send data to my server. but form method only allows POST and GET method.
Thank you in advance.
Hi can I ask some help how can I perform the PUT method to send data to my server. but form method only allows POST and GET method.
Thank you in advance.
depends how you recognise PUT on the server.
if it’s through a Framework, they usually allow method overwriting by adding a hidden field a là <input type="hidden" name="_method" value="PUT">
. if the server directly allows PUT (which is quite a dangerous thing) you could try AJAX.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.