Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4838

Ember-data POST response

$
0
0

@wildchild wrote:

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?

Thanks.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4838