2015-09-30 4 views

ответ

0

Вот как вы можете добавить заголовок в Sencha touch AJAX,

Ext.Ajax.request({ 
    url: 'myUrl', 

    headers: { 
     "Content-Type": "application/json" 
    }, 

    callback: function(options, success, response) { 
     console.log(response.responseText); 
    } 
});