Use method save()
Hi,
I would like to use save() on restangularized element.
1 - I saw this issue https://github.com/mgonto/restangular/issues/697. When will it be merged ?
2 - I think it will be easier to use if save() was based on object.id.
var myCar = {};
// Do restangularizeElement
myObject.save() // Do a POST request on '/car'
var myObject = {id: 1};
// Do restangularizeElement
myObject.save() // Do a PUT request on '/car/1'
What do you think about it ?
Thanks for your reply
+1
+1
+1
It should've been merged awhile ago, but mgonto has left the project as the primary author, so myself and a few others have been trying to maintain it. I will do my best to try to get this reviewed, but time is limited :(
oh man, why he has left this awesome project :(