-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
access ajax content before parsing #4136
Comments
Hi @sebyx07. You can override the |
i just override the ajax(), had to uncompress they payload |
Hey @sebyx07, I was just looking at your gist and if I am not mistaken, you don't need to overwrite the export default DS.RESTAdapter.extend({
handleResponse(status, headers, payload) {
payload = uncompressToJSON(payload);
return this._super(...arguments);
}
} In the gist you patched the Can you confirm that this works for you and close this issue if it does? |
@sebyx07 can this issue be closed? |
yes, ty |
👍 |
Is there a way to override how the store makes get/post request? i use base64 to compress the json and I need to inflate/deflate the content ?
Now I use plain ajax request and push the payload into the store
The text was updated successfully, but these errors were encountered: