1. #1
    Sencha User
    Join Date
    Jun 2014
    Posts
    2
    Vote Rating
    0
    Iurii Iakymchuk is on a distinguished road

      0  

    Default How to send PUT request on form submit when upload of an image is performed?

    How to send PUT request on form submit when upload of an image is performed?


    Hi,
    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?

    Thanks

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,280
    Vote Rating
    63
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    File uploads are handled by a hidden iframe, which likely uses POST. You can read more about it here:
    http://docs.sencha.com/extjs/4.2.2/#...ata.Connection
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

  3. #3
    Sencha User
    Join Date
    Jun 2014
    Posts
    2
    Vote Rating
    0
    Iurii Iakymchuk is on a distinguished road

      0  

    Default


    Thank you for the reply. I changed my server side implementation and now I use POST method for updating image content.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi