Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

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
0
enrique_aeo
Asked:
enrique_aeo
  • 2
2 Solutions
 
enrique_aeoAuthor Commented:
another url please
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now