handleman
1/3/2015 - 8:03 PM

backbone_ajax1.js

/** Global override to make all AJAX calls as POST type */
Backbone.ajax = function() {
  var args = Array.prototype.slice.call(arguments, 0);
    return Backbone.$.ajax.apply(Backbone.$, _.extend(args, {type: 'POST'}));
};

/** Manual override per call */
Collection.fetch({data: {id: 34}, type: 'POST'});