[Gambas-user] CURL: Custom outgoing headers

Benoît Minisini gambas at ...1...
Mon Mar 8 15:08:30 CET 2010


> On 8 March 2010 14:26, shannon at ...2384...
> 
> <shannon at ...2384...> wrote:
> > Related question: sending a jpg as POST data - open the file as sring?
> > byte? I've tried all without success. Any guidance would be helpful!
> 
> Get the data in byte format and use the enctype="multipart/form-data"
> protocol.
> 
> http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2
> 
> http://www.faqs.org/rfcs/rfc1867.html
> 

Isn't it possible just do: MyHttpClient.Post(File.Load("image.jpeg"), 
"image/jpeg") ?

-- 
Benoît Minisini




More information about the User mailing list