Backbone.emulateJSON

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.

doc_Backbone
2016-04-17 12:20:59
Comments
Leave a Comment

Please login to continue.