I am attempting to write a custom express.js based server for an Ember.js app. I am getting along fairly well but I\'m constantly getting stuck trying to guess what JSON res
Instead of stabbing in the dark, have a look at rest-adapter-test
For example, to fill in your question on response data for bulk updates, L738 describes the expected response data:
ajaxHash.success({ people: [
{ id: 1, name: "Brohuda Brokatz" },
{ id: 2, name: "Brocarl Brolerche" }
]});
Currently look for phrases ajaxResponse(
in rest-adapter-test.js
source nested in test("create - a payload with a new ID and data applies the updates"
look alike blocks to read required response of server.