Ember-data PUT request losing payload on the way to REST back-end


#1

I have been trying to get ember-data requests working with a express/mongoose RESTful back end (based on npm restgen). The find all and find one requests work fine. Next I tried update one, which uses a PUT.

Long story short, the request payload arrives at the server looking like this {post:{}}, i.e. with valid but empty content. And I can see in Chrome dev tools that the full request containing the to-be-updated content is being sent over the network. It arrives empty.

Is this possibly an issue of ember-data’s alpha-ness. Or do I need to fix the express server? Has anyone gotten PUT requests to work with a nodjs back end?

Would love to hear your tips, see your codes.

I have posted the issue with full code samples on SO.