1. Handling HTTP communications using Euphoria

Just looking for input on trying to use Euphoria (as opposed to
Python or Rebol) to handle a task at my employers'. We need to
programatically simulate a desktop operator keying input into a web page,
sending the page via HTTPS, receiving the returned HTTP response and 
taking action (if the response is good we read another input record from
a file and repeat). I have several web pages up using Python, CGI and 
various HTTP web servers...... but here there is no browser involved, no
HTTP server just a program running that can do HTTP interactions. Don't 
want to suggest this is doable in Euphoria (with enough included ".e" 
files (?) if it's really not likely to be reasonably possible.

new topic     » topic index » view message » categorize

2. Re: Handling HTTP communications using Euphoria

John Dutcher wrote:
> 
> 
> Just looking for input on trying to use Euphoria (as opposed to
> Python or Rebol) to handle a task at my employers'. We need to
> programatically simulate a desktop operator keying input into a web page,
> sending the page via HTTPS, receiving the returned HTTP response and 
> taking action (if the response is good we read another input record from
> a file and repeat). I have several web pages up using Python, CGI and 
> various HTTP web servers...... but here there is no browser involved, no
> HTTP server just a program running that can do HTTP interactions. Don't 
> want to suggest this is doable in Euphoria (with enough included ".e" 
> files (?) if it's really not likely to be reasonably possible.

It's certainly possible, but not practical. You could do it much more 
quickly using Rebol or Python, depending on which one you are 
most familiar with. This sounds like the type of thing that Kat does, 
perhaps you could hire her to do the job.

Irv

new topic     » goto parent     » topic index » view message » categorize

3. Re: Handling HTTP communications using Euphoria

On 17 Oct 2004, at 5:25, irv mullins wrote:

> 
> 
> posted by: irv mullins <irvm at ellijay.com>
> 
> John Dutcher wrote:
> > 
> > 
> > Just looking for input on trying to use Euphoria (as opposed to
> > Python or Rebol) to handle a task at my employers'. We need to
> > programatically simulate a desktop operator keying input into a web page,
> > sending the page via HTTPS, receiving the returned HTTP response and taking
> > action (if the response is good we read another input record from a file and
> > repeat). I have several web pages up using Python, CGI and various HTTP web
> > servers...... but here there is no browser involved, no HTTP server just a
> > program running that can do HTTP interactions. Don't want to suggest this is
> > doable in Euphoria (with enough included ".e" files (?) if it's really not
> > likely to be reasonably possible.
> 
> It's certainly possible, but not practical. You could do it much more 
> quickly using Rebol or Python, depending on which one you are 
> most familiar with. This sounds like the type of thing that Kat does, 
> perhaps you could hire her to do the job.

I haven't tried https in Eu yet, i just haven't had the need. For normal http
use
i gave up on Eu web programs working properly and i use wget.exe for all 
new code. There are a lot of tcp libs in the archives, but none do https that i 
am aware of.

Kat

new topic     » goto parent     » topic index » view message » categorize

4. Re: Handling HTTP communications using Euphoria

irv mullins wrote:
> 
> John Dutcher wrote:
> > 
> > 
> > Just looking for input on trying to use Euphoria (as opposed to
> > Python or Rebol) to handle a task at my employers'. We need to
> > programatically simulate a desktop operator keying input into a web page,
> > sending the page via HTTPS, receiving the returned HTTP response and 
> > taking action (if the response is good we read another input record from
> > a file and repeat). I have several web pages up using Python, CGI and 
> > various HTTP web servers...... but here there is no browser involved, no
> > HTTP server just a program running that can do HTTP interactions. Don't 
> > want to suggest this is doable in Euphoria (with enough included ".e" 
> > files (?) if it's really not likely to be reasonably possible.
> 
> It's certainly possible, but not practical. You could do it much more 
> quickly using Rebol or Python, depending on which one you are 
> most familiar with. This sounds like the type of thing that Kat does, 
> perhaps you could hire her to do the job.
> 
> Irv
> 


I do all my HTTP stuff (including HTTPS) with the .dll version of CURL.  I made
my own specialized Eu wrapper for it -- it was fairly easy...

new topic     » goto parent     » topic index » view message » categorize

5. Re: Handling HTTP communications using Euphoria

Andy Serpa wrote:
> 
> irv mullins wrote:
> > 
> > John Dutcher wrote:
> > > 
> > > 
> > > Just looking for input on trying to use Euphoria (as opposed to
> > > Python or Rebol) to handle a task at my employers'. We need to
> > > programatically simulate a desktop operator keying input into a web page,
> > > sending the page via HTTPS, receiving the returned HTTP response and 
> > > taking action (if the response is good we read another input record from
> > > a file and repeat). I have several web pages up using Python, CGI and 
> > > various HTTP web servers...... but here there is no browser involved, no
> > > HTTP server just a program running that can do HTTP interactions. Don't 
> > > want to suggest this is doable in Euphoria (with enough included ".e" 
> > > files (?) if it's really not likely to be reasonably possible.
> > 
> > It's certainly possible, but not practical. You could do it much more 
> > quickly using Rebol or Python, depending on which one you are 
> > most familiar with. This sounds like the type of thing that Kat does, 
> > perhaps you could hire her to do the job.
> > 
> > Irv
> > 
> 
> I do all my HTTP stuff (including HTTPS) with the .dll version of CURL.  I
> made my
> own specialized Eu wrapper for it -- it was fairly easy...
> 

I gather this means you used the Windows platform...which is what I am
 working with. That's impressive...I downloaded the CURL.exe file with
which to give this a try....for some reason the 'libcurl' didn't seem to
suggest a Windows download site but maybe I will have gotten it as part
of the CURL install ( a 'possibility' the site suggests).
Thanks much.....John D.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu