Re: Using POST to send bitmap image with Java
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Fri, 30 May 2008 19:44:54 -0400
Kenneth P. Turvey wrote:
I'm actually in the process of doing this right now. I'm going to be posting the image to a URL that is a PHP script. When I was looking at this I thought that this really made more sense to use a PUT method to post the image, but the guy working on the PHP side insisted on using a POST method.
Is there a reason that POST would be selected over PUT for this application? Are there reasons to go with PUT here?
PUT file
uploads a file to specified name via a builtin mechanism
in the web server.
POST uploadscript
send a file to the specified script that can save it as
a file or in a database or whatever.
Not all web servers support or is configured to allow PUT,
while POST is supported by all web servers.
With POST you can also use form based multi part where you
can upload additional info about the file and multiple files
in a single POST.
Arne
.
- Follow-Ups:
- Re: Using POST to send bitmap image with Java
- From: s0suk3
- Re: Using POST to send bitmap image with Java
- From: Dave Miller
- Re: Using POST to send bitmap image with Java
- References:
- Using POST to send bitmap image with Java
- From: Dexter
- Re: Using POST to send bitmap image with Java
- From: Dave Miller
- Re: Using POST to send bitmap image with Java
- From: Kenneth P. Turvey
- Using POST to send bitmap image with Java
- Prev by Date: Re: gui builder
- Next by Date: Re: Using POST to send bitmap image with Java
- Previous by thread: Re: Using POST to send bitmap image with Java
- Next by thread: Re: Using POST to send bitmap image with Java
- Index(es):
Relevant Pages
|