views:

314

answers:

3
+1  Q: 

HTTP GET and POST

Whats the use of HTTP GET method if POST can handle many of the issues of GET?

+2  A: 

well you can't pass parameters on the URL query string itself with HTTP POST.

HTTP POST should be used for operations that can modify the underlying data store (e.g. a deletion or creation). HTTP GET should only be used for operations that query the underlying data store.

cruizer
Actually, you can if your Web Server is halfway decent.
Software Monkey
+6  A: 

GETs are deemed to be repeatable, which allows requests to be retried safely and responses to be cached. It also means the user can easily bookmark the page.

Jon Skeet