Backbone.js sync using post variables, not json
backbone.js, json
Solution
I think what you're looking for is `Backbone.emulateJSON = true`
copied from the official documentation:
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.
Problem
I'm new to backbone and trying to write an html5 front end for an existing (and pretty big) REST back end. I found that when saving a model, backbone by default sends the model encoded as JSON which my existing API doesn't support. Is it possible to send plain simple post request with variables using backbone?