AngularJS service to handle Rest API Restful Resources properly and easily
MIT License
7.87k
stars
840
forks
source link
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. #1467
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.
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.