That would work, but I still need to send that custom header. :-( Manual it is.....
2010/3/8 Benoît Minisini <gam...@users.sourceforge.net> > > > On 8 March 2010 14:26, shan...@831photography.com > > > > > > <shan...@831photography.com> 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") ? > > Oops, I meant: > > MyHttpClient.Post("image/jpeg", File.Load("image.jpeg")) > > -- > Benoît Minisini > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Shannon Smith 831 Photography www.831Photography.com 330-753-8703 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user