In an RESTful system, resource must have an ID?


#1

Now my system has some api that doesn’t have an unique id, so how to make request from ember data.

Because find method needs an id, but i don’t have it.

Current, my solution is use pure AJAX call to fetch this kind of data.Or i can override the buildURL method.

So in an RESTful system, resource must have an ID?


#2

You could try using the URL of the resource as the ID.