Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@sreeharsha777
Copy link

sreeharsha777 commented Mar 31, 2017

No description provided.

@sreeharsha777 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
@usmandap
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants