mardi 1 mars 2016

Ember rest url not formatting as expected

I have a simple Ember Data RESTAdapter in use.

I am using a query for a record

return this.store.queryRecord('user', 5);

and for some reason this is translating to a uri

/Valid.George.WebApi/api/users?5

rather than

/Valid.George.WebApi/api/users/5

does anyone know of a setting that might be causing this?




Aucun commentaire:

Enregistrer un commentaire