lundi 10 mai 2021

ember.js Anyway to use store.query() as a POST request?

With Ember data store is there a way to make the store.query() method with a POST request instead of a GET?

We have an issue where our params sent down in a store query are far too large for the maximum HTTP limit. What seems to be the best workaround is sending our params as the body for a POST request. Is there anyway we can still use store.query() for that? I don't see anything in documentation and I've been recreating the functionality, but it is just getting messy and it feels like there has to be a better way.

Any help would be appreciated!




Aucun commentaire:

Enregistrer un commentaire