Skip to content


RESTAdapter sends invalid requests to backend #478

svasva opened this Issue · 3 comments

4 participants


It sets request Content-type to application/json but sends no json for GET requests. That makes express to raise an exception. Here's an issue at express repo: strongloop/express#1316


As a work around I replaced application/json with application/x-www-form-urlencoded for GETs:

ln 5552:
hash.contentType = (type !== 'GET') ? 'application/json; charset=utf-8' : 'application/x-www-form-urlencoded; charset=utf-8';


This looks like a duplicate of #402.

Ember.js member

Closing as duplicate.

@wagenet wagenet closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.