When I do this.get('store').commit(); in PostController to sent PUT with JSON like:
{
"post": {
"text": "lorem ipsum",
"something": 23
}
}
and response from API is just status code 200 then Post model isError is true...
I have to response with the same body as request payload or at least with {"post": {}} to satisfy Post model and get isLoaded property true again.
I'm wondering why Ember.js require PUT response to contains JSON data?
POST requires JSON response (with backend generated IDs etc) but what is the reason for PUT to carry extra information and increase bandwidth? Especially that Ember.js even won't use them, empty JSON with post property is enough...