Consider the following code:
App.ListingAdapter = DS.RESTAdapter.extend({
host: document.location.origin + '/rest'
});
How would I go about sending parameters in the ajax request? if I wanted to say pass something like ?var1=a&var2=b etc? or simply post vars in the request?
Aucun commentaire:
Enregistrer un commentaire