KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In Backbone.js I can appoint where the model fetches it's data: var Book = Backbone.Model.extend({urlRoot : '/books'}); var mybook = new Book({id: "1"}); mybook.fetch(); //it will access '/books/1' But if I want to append a query string after the URL? e.g. the book data is at /books/1&details=true . Can I specify this in model?
Tags (comma-separated)
Save Edits
Cancel