Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

POST or GET  RSS feed

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How can you tell if your browser is using a "POST" or "GET"? What do I have to call? TIA
Kevin
 
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
most of the time your broweser is using the GET method.
when u see in the URL in the broweser code like this at the end: ?ubb=reply&f=50 etc u send the parametrs using the GET.
you can specify to send the paramaters using more secure mthods wih the POST method like in forms etc.
 
Author and ninkuma
Marshal
Posts: 66783
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Programmatically, you can obtain the HTTP method via request.getMethod().
hth,
bear
 
kevin schmidt
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, bad wording on my part... I meant how can I tell if a program is using GET or POST from the coding side of things... but thanks bear
 
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
doGet(..........) or doPost(..........) method on servlet
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To send information on server side post method is used. Using Get we send limited informaiton to server side 240 characters approx. Get method is not secure because when we send information using Get our information is on address bar.e.g password etc.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!