How to send PUT request on form submit when upload of an image is performed?
I am using ExtJs version 4.2.1 and for uploading of an image I use 'filefield' component. On submit of the form always the POST request is sent nevertheless I define PUT request method to be sent.
When I remove 'filefield' element from the form then all works fine and PUT request is sent. Does anyone know how to implement sending of PUT request on form submit when 'filefield' element is present there?
File uploads are handled by a hidden iframe, which likely uses POST. You can read more about it here:
Thank you for the reply. I changed my server side implementation and now I use POST method for updating image content.