napp.alloy.adapter.restapi
napp.alloy.adapter.restapi copied to clipboard
More docs?
Any way you can show some more examples. I get the one you have and have implemented it perfectly... however when trying to figure out how to use the adapter in a model things break down.
For instance using this as a model and not a collection is for some reason not working.
Could you give some quick examples of how to use this in a model context and send data using it as well?
Love to use this but need some more info if it's to be useful.
Same here ....
Me too, I'm trying to fetch a single model from the server and not having any luck what so ever.
More docs could be nice :)
@dottodot Try overriding the URL in your model. You can use it as a string url: "http://** your url here **/", or as a function:
url: function(){ var rtr = "http://** your url here **" + this.get("id"); // or something like this }