I am adding a JSON API to the Ember tutorial app found here with Ember-Data. The flow of the app goes like this:
- Load the website: App fetches todos from the API via a GET request.
- Add a todo: App add a new todo via a POST request
- Edit the todo that was just added: Fails because although the todo is in the database, the app doesn't know about it, because it hasn't gotten the list of todos since the todo was added.