Re: File Uploading to HTTP server using CFHTTPMessage API fails
Re: File Uploading to HTTP server using CFHTTPMessage API fails
- Subject: Re: File Uploading to HTTP server using CFHTTPMessage API fails
- From: DEBAPRIO BANIK <email@hidden>
- Date: Fri, 13 Jan 2012 13:01:10 +0530
I have implemented the download logic already and we connect to the same url for downloading as well.
For downloading i use 'GET'. So in this case should the upload be a 'PUT request?'
On Fri, Jan 13, 2012 at 12:37 PM, Jens Alfke
<email@hidden> wrote:
On Jan 12, 2012, at 11:00 PM, DEBAPRIO BANIK wrote:
One last thing. For uploading file to http server, can the http method be 'GET'? Or should it be always 'PUT'?
Most likely POST. But if the URL you’re sending the request to becomes the URL from which that file can be retrieved later, that’s a PUT.
—Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden