1. Handling HTTP communications using Euphoria
- Posted by John Dutcher <jfdutcher1958 at yahoo.com> Oct 17, 2004
- 543 views
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.
2. Re: Handling HTTP communications using Euphoria
- Posted by irv mullins <irvm at ellijay.com> Oct 17, 2004
- 550 views
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
3. Re: Handling HTTP communications using Euphoria
- Posted by "Kat" <gertie at visionsix.com> Oct 17, 2004
- 529 views
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
4. Re: Handling HTTP communications using Euphoria
- Posted by Andy Serpa <ac at onehorseshy.com> Oct 17, 2004
- 514 views
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...
5. Re: Handling HTTP communications using Euphoria
- Posted by John Dutcher <jfdutcher1958 at yahoo.com> Oct 18, 2004
- 546 views
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.