How to add header as parameter in ajax call rest web service request in sencha touch -


can tell how add header parameter in ajax call rest web service request in sencha touch

thanks

here how can add header in sencha touch ajax call,

ext.ajax.request({    url: 'myurl',     headers: {       "content-type": "application/json"    },     callback: function(options, success, response) {       console.log(response.responsetext);    } }); 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -