vendredi 20 mars 2015

Ember save needs headers. Doesnt seem to pass thru RESTAdapter headers function

I need to pass an Authorization token via header and that works fine for find and findQuery but save doesn't seem to invoke the header function?!


The initial header problem was solved using a few SO questions including adding-headers-after-restadapter-initialization


Is it necessary to override createRecord: function(store, type, record) or can one override a function with less prone-to-error coding.





Aucun commentaire:

Enregistrer un commentaire