You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this problem is on Express's end or here, but for some reason the default hash.contentType = 'application/json; charset=utf-8'; under the RESTAdapters ajax function causes express to return the 400 error Error: invalid json.
Modifying the default content type to hash.contentType = 'application/x-www-form-urlencoded; charset=utf-8';
fixes the issue.
The text was updated successfully, but these errors were encountered:
I'm not sure if this problem is on Express's end or here, but for some reason the default
hash.contentType = 'application/json; charset=utf-8';
under the RESTAdaptersajax
function causes express to return the 400 errorError: invalid json
.Modifying the default content type to
hash.contentType = 'application/x-www-form-urlencoded; charset=utf-8';
fixes the issue.
The text was updated successfully, but these errors were encountered: