1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default Unanswered: content type

    Unanswered: content type


    How to change the content type of a form to submit the url.

  2. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Vote Rating
    115
    Answers
    346
    vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold vietits is a splendid one to behold

      0  

    Default


    Try this:
    Code:
    <formBasic>.submit({
        url: 'point to url',
        headers: {
            'Content-Type': 'put your content type here'
        },
        ...
    })

  3. #3
    Sencha User
    Join Date
    Feb 2013
    Posts
    8
    Vote Rating
    0
    ehsan.e is on a distinguished road

      0  

    Default


    i try your code , but i does not work , i check , and found that in ext js 4 beta , there is no headers config option, so what can i do ? plz help me

Thread Participants: 2

Tags for this Thread