Click here to Skip to main content
15,905,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
If I call any webmethod from webservice by get method then it is possible to change the data on server?
Or I have to call webmethod only via Post method.

Can anyone give me a proper example which is available on internet.
Posted

1 solution

A GET command is retried a number of times. So in case you are updating / inserting data it could create a problem.
POST is not retried and hence if you send a request once, it will only be executed once on the server.

So while you could use GET to update records, its not a good idea.
 
Share this answer
 
Comments
Shobhana.n 13-Apr-13 23:21pm    
Thanks for your valuable time.but but updation on server will be done via both the method.but using GET for updation is not good idea.this is what you mean to say.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900