Link to home
Start Free TrialLog in
Avatar of enrique_aeo
enrique_aeo

asked on

XML WEB SERVICES: GET AND POST

hi experts, what is the difference between
method 1
string urlGet = "http://localhost/Woodgrove/Bank.asmx/GetAccount?acctID=1";
GetData(urlGet, "", "GET", "");

method 2
string urlPost = "http://localhost/Woodgrove/Bank.asmx/GetAccount";
GetData(urlPost, "application/x-www-form-urlencoded", "POST", "acctID=1");

which is better?
 in what situations should I use get or post?

i attached the results
-post.jpg
-GET.jpg
ASKER CERTIFIED SOLUTION
Avatar of Anil Golamari
Anil Golamari
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of enrique_aeo
enrique_aeo

ASKER

another url please
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial