{"action":"opened","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/12352","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/12352/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/12352/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/12352/events","html_url":"https://github.com/emberjs/ember.js/issues/12352","id":106721633,"number":12352,"title":"http-mock, bodyParser and Content-Type: application/vnd.api+json","user":{"login":"rbemis","id":7715482,"avatar_url":"https://avatars.githubusercontent.com/u/7715482?v=3","gravatar_id":"","url":"https://api.github.com/users/rbemis","html_url":"https://github.com/rbemis","followers_url":"https://api.github.com/users/rbemis/followers","following_url":"https://api.github.com/users/rbemis/following{/other_user}","gists_url":"https://api.github.com/users/rbemis/gists{/gist_id}","starred_url":"https://api.github.com/users/rbemis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbemis/subscriptions","organizations_url":"https://api.github.com/users/rbemis/orgs","repos_url":"https://api.github.com/users/rbemis/repos","events_url":"https://api.github.com/users/rbemis/events{/privacy}","received_events_url":"https://api.github.com/users/rbemis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T08:11:28Z","updated_at":"2015-09-16T08:11:28Z","closed_at":null,"body":"It appears that http-mock needs the bodyParser middleware to read req.body, but bodyParser does not like the JSON API media type application/vnd.api+json, which is the content type generated by the JSONAPIAdapter and required by the [JSON API spec](http://jsonapi.org/format/). If you post a request to an http-mock with Content-Type: application/vnd.api+json, req.body will be {}, empty, but without bodyParser, req.body will be undefined. This seems like a bug to me. Please advise."}}