You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Open
sreeharsha777 opened this issue
Mar 31, 2017
· 1 comment
The text was updated successfully, but these errors were encountered:
sreeharsha777
changed the title
i am able to get the data by using restangular query Restangular.one('network/current_status/interfaces').get().then(function(data) {});
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.
Mar 31, 2017
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.
No description provided.
The text was updated successfully, but these errors were encountered: