aspose file tools*
The moose likes Servlets and the fly likes can POST request  send unlimited amount of data from client to server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "can POST request  send unlimited amount of data from client to server" Watch "can POST request  send unlimited amount of data from client to server" New topic
Author

can POST request send unlimited amount of data from client to server

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
is it true that POST request can send unlimited amount of data from client to server?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
True in the sense that HTTP does not impose a limit in the API.

False in the sense that typical servers and typical bandwidth will impose a practical limit.

There are much better protocols for very large file transfer.

Bill
Praneeth Thiruveedhula
Greenhorn

Joined: Oct 20, 2009
Posts: 19
by using POST you can send huge amount of data to server.
you can send both text and binary data
it is secured than GET.
Charles 'King
Ranch Hand

Joined: Jul 05, 2009
Posts: 56

Praneeth Thiruveedhula wrote:
it is secured than GET.


Not exactly. If your data isn't encrypted, it can be read by a sniffer. POST != security...
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

while we use GET method, the parameters attached in the URL..
and while we use POST method, the parameters wrapped in the request body..

Please correct me if i'm wrong..
Thanks..


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3825

Leonardo Carreira wrote:while we use GET method, the parameters attached in the URL..
and while we use POST method, the parameters wrapped in the request body..

True, but it's no different from GET request as far as the security is concerned.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Charles 'King
Ranch Hand

Joined: Jul 05, 2009
Posts: 56

Leonardo Carreira wrote:while we use GET method, the parameters attached in the URL..
and while we use POST method, the parameters wrapped in the request body..

Please correct me if i'm wrong..
Thanks..


I don't know if the forum frowns on posting links to investigative tools (network analyzer)...So I'm not going to post a link to one...But if you find one, analyze your GET and POST request packets - and report back on how secure they are.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

Charles 'King wrote:I don't know if the forum frowns on posting links to investigative tools (network analyzer)...So I'm not going to post a link to one...But if you find one

Firefox has a very handy plug-in named HttpFox that is a debugging proxy. You don't need a network analyzer, just a proxy.

There is no security in either POST or GET. If you want security use TLS/SSL
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can POST request send unlimited amount of data from client to server