Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-13 Thread Shannon Smith
Any idea on how to send a JPEG using just sockets? I've tried File.Load() and writing the string, as well as reading each byte. I still must be missing something On Mon, Mar 8, 2010 at 3:16 PM, Shannon Smith wrote: > That's cool - MMX=Year of G3, right? :-) > > Thanks so much! > > Shan > > 2

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-08 Thread Shannon Smith
That's cool - MMX=Year of G3, right? :-) Thanks so much! Shan 2010/3/8 Benoît Minisini > > That would work, but I still need to send that custom header. :-( > > > > Everything for that is in Gambas 3 now, but I'm afraid I can't backport it > to > Gambas 2 as I had to change the component inter

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-08 Thread Benoît Minisini
> That would work, but I still need to send that custom header. :-( > Everything for that is in Gambas 3 now, but I'm afraid I can't backport it to Gambas 2 as I had to change the component interface! -- Benoît Minisini -

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-08 Thread Shannon Smith
That would work, but I still need to send that custom header. :-( Manual it is. 2010/3/8 Benoît Minisini > > > On 8 March 2010 14:26, shan...@831photography.com > > > > > > wrote: > > > > Related question: sending a jpg as POST data - open the file as > sring? > > > > byte? I've tried all

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-08 Thread Benoît Minisini
> > On 8 March 2010 14:26, 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-dat

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-08 Thread Benoît Minisini
> On 8 March 2010 14:26, 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.

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-08 Thread Kadaitcha Man
On 8 March 2010 14:26, 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

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-07 Thread shan...@831photography.com
pm To: "mailing list for gambas users" From: "Benoît Minisini" Subject: Re: [Gambas-user] CURL: Custom outgoing headers > I'm trying to connect to a server that requires a custom header. I'm using > CURL and Gambas v2.13. I can't find a way to modify the

Re: [Gambas-user] CURL: Custom outgoing headers

2010-03-07 Thread Benoît Minisini
> I'm trying to connect to a server that requires a custom header. I'm using > CURL and Gambas v2.13. I can't find a way to modify the outgoing headers. > > Here's my code snippet: > > DIM mySock AS HttpClient > DIM myResponse AS String > DIM myRequest AS String > DIM AuthToken as String

[Gambas-user] CURL: Custom outgoing headers

2010-03-06 Thread Shannon Smith
I'm trying to connect to a server that requires a custom header. I'm using CURL and Gambas v2.13. I can't find a way to modify the outgoing headers. Here's my code snippet: DIM mySock AS HttpClient DIM myResponse AS String DIM myRequest AS String DIM AuthToken as String AuthToken = "T