Re: Using POST to send bitmap image with Java
- From: "John B. Matthews" <nospam@xxxxxxxxxx>
- Date: Fri, 30 May 2008 19:28:17 -0400
In article <484085f4$0$16920$ec3e2dad@xxxxxxxxxxxxxxxxxxxxxx>,
"Kenneth P. Turvey" <kt-usenet@xxxxxxxxxxxxxxxxxx> 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?
<http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html>:
"The fundamental difference between the POST and PUT requests is
reflected in the different meaning of the Request-URI. The URI in a POST
request identifies the resource that will handle the enclosed entity...
In contrast, the URI in a PUT request identifies the entity enclosed
with the request..."
Since you're "posting the image to a URL," I think you answered your own
question:-)
John
--
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews
.
- Follow-Ups:
- Re: Using POST to send bitmap image with Java
- From: Kenneth P. Turvey
- 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: peies to board????
- Next by Date: Re: gui builder
- 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
|