It seems like at the moment when I call get on a backbone.js collection, it passes the id by cookie rather than restfully passing into my GET method. In the Request Header it’s coming up like this:
Cookie:posts=ag5kZXZ-c29jcmVuY2h1c3IOCxIIUG9zdExpc3QYAQw;
dev_appserver_login=”test100@example.com:False:114323764255192059842″
This is what I have:
The get call:
postCollection.get(id)
and the get method:
def get(self, id):
I want to use the id in the get method rather than having to use the cookie.
Probably the best way to accomplish this is something like the following.
collection.get(id)shouldn’t be making a request to the backend.