[Logo]
Forums Register Login
POST or GET
Hi,
How can you tell if your browser is using a "POST" or "GET"? What do I have to call? TIA
Kevin
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.
Programmatically, you can obtain the HTTP method via request.getMethod().
hth,
bear
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
doGet(..........) or doPost(..........) method on servlet
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.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Oct 19, 2017 14:21:25.