My api expects an api token as a query parameter for GETs and DELETEs and a parameter in the body for PUT/PATCHs and POSTs.
I see in the Ember Guides the inclusion of an API key in a header, but that's not what my api expects. I also saw some old posts that seemed to override an ajax() method, but I don't see that method documented (or at least I could not find it).
Is there a documented "Ember Way" do accomplish this? Or is there any "Best Practices" that most people are following for this?
Aucun commentaire:
Enregistrer un commentaire