my backend returns a list of object as json. I created an ember model named compareResult which should reflect what the backend returns. The problem is that i only used it one side meaning that its just supposed to be a get call from ember to the backend and thats it. No delete, no insert, nothing like that. My get call is also something that might not be standar ? All get calls should post to this
api/v1/compareResults/{id_1}/{id_2}
This will fetch an object by id_1 and another by id_2 and compare both of them and return a list of compare results.
What would be the best approach to implement this feature.
Thanks !
Aucun commentaire:
Enregistrer un commentaire