emulateJSONBackbone.emulateJSON = true
If you're working with a legacy web server that can't handle requests encoded as application/json
, setting Backbone.emulateJSON = true;
will cause the JSON to be serialized under a model
parameter, and the request to be made with a application/x-www-form-urlencoded
MIME type, as if from an HTML form.
Backbone.emulateJSON
2016-04-17 12:20:59
Please login to continue.