Possible Duplicate:
When should I use GET or POST method? What’s the difference between them?
I am creating a newsletter subscription area for my website and I’m wondering which method is preferred?… GET or POST? Since I’m allowing people to register their emails for future newsletters, I figured that GET would be the preferred method but I hear alot of people just say use POST for everything.
I know GET is faster, less secure and can’t store as many characters.
What do you think? GET or POST?
Edit: I know this post will probably be downvoted to oblivion since it is a rather simple question but I am asking the preferred way. Not just some half ….. way!
While POST amd GET would both work the actual preferred way is POST. Both method’s have their limitation but in this case both of them wont limit your implementation because it will be a somewhat “simple” page.
Use a get to tell the server what to do, not to set the data. And yes you are right the user can read the GET but they also can read/modify your post so no point in taking that in consideration.
Just follow the standarts and use a POST.
For more info see the following pages: