restangular
restangular copied to clipboard
i am able to get the data by using restangular query Restangular.one('network/current_status/interfaces').get().then(function(data) {}); I am supposed to update that data. Hence help out to use suitable PUT method inorder to update the data.
Well you can easily update data by querying Restangular.one('network').one('current_status').one('interfaces').customPUT(data).then(function(res){ console.log(res); //This should going to logs your updated data depending on your REST API. })
Kindly test your API using Postman in order to make sure that your api is performing fine.