Ember-data POST response


I’m trying to write a backend that is compatible with RESTAdapter and JSONSerialiser.

I am trying to determine what an appropriately formatted response should look like for responding to POSTs for newly-created objects, for both validation errors and successfully created objects. I am assuming on success that the server-side ID for the model must be returned, so that the store can tally with the backend for the identifier. However, I can’t find any docs that explicitly describe how this interaction works. Have I just overlooked them? Can anyone point me to a link please?



This might help How to access response data from node backend in ember app


Thanks. I ended up using JSONAPI via Katharsis ( http://katharsis.io ) to handle the backend.