1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    12
    Vote Rating
    0
    waits4uonly is on a distinguished road

      0  

    Default setting content-type for ext.data.jsonStore

    setting content-type for ext.data.jsonStore


    have created a json with a filename jsonResponse.json and kept it on a server and accessing it in Ext.data.jsonStore as a remote json file. but i am getting an error like not well formed even if the json is perfectly valid.. i came to know one thing that i have to set the content-type for the same ajax request.. for that i used header : { "content-type" : "application/json" } but not working... then i tried header : { "Accept" : "application/json" } same error repeats.. if any idea kindly suggest..

  2. #2
    Sencha User MartinL's Avatar
    Join Date
    Aug 2008
    Location
    Stuttgart, Germany
    Posts
    37
    Vote Rating
    0
    MartinL is on a distinguished road

      0  

    Default Accept json

    Accept json


    Hy I tried it with

    headers: {
    Accept: 'application/json'
    }

    maybe it is because you forget the "s" at header?! For me it worked

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