jeudi 25 octobre 2018

Ember JS make a GET request to an API

I want to make a GET request to an api and the request in the server side looks like below, using AJAX

http://localhost:8000/api/?email=test@test.com

In other words, instead, instead of populating data to our ember model using the command, return this.store.query('testmodel',{ email: test@test.com }), I need replace this by a AJAX call in the ember controller

Please Help thanks in advance




Aucun commentaire:

Enregistrer un commentaire