Skip to content Skip to sidebar Skip to footer

Request Payload Data In Sencha Touch

Was just trying to sync a model in Sencha Touch and realised that it doesn't yet support sending of Nested Model data. So I'm having to do the Ajax request manually. How can I send

Solution 1:

Ext.Ajax.request({
    url: '/api/blah',
    method: 'POST',
    jsonData: {
        //the object data etc,
    },
    success: function(response, opts) {

    },
    failure: function(response, opts) {

    }
});

Post a Comment for "Request Payload Data In Sencha Touch"