how does post and get requests look like?

how does post and get requests look like?

[48 byte] By [iamjhkanga] at [2007-11-27 11:40:30]
# 1

What do you mean? Look like what?

Do you want to know the difference? That's discussed countless times here.

See http://www.google.com/search?q=difference+post+get+request+site:sun.com

BalusCa at 2007-7-29 17:32:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi,

Get

Default action method is get when you clicking submit button

low amount of data can pass to server

data is visible in address bar

Post

Data is invisible

large amount of data can pass

better to use post request for secure, such as password passing or any important message passing

drvijayy2k2a at 2007-7-29 17:32:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

I mean

HTTP 1.1 ...

etc.

iamjhkanga at 2007-7-29 17:32:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

The HTTP 1.1 spec?

Check http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

BalusCa at 2007-7-29 17:32:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

GET

1.Designed for getting information (e.g. document, chart, results of query)

2.Can include a query string

POST

1.Designed for posting information

2.Passes all its data (of unlimited length) to server as part of its http request body

3.Hides sensitive information from server log by including it in the message body instead of the URL query string

shagila at 2007-7-29 17:32:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...