Re: HTTP Request In A Script

From: Stephen Murphy (SMurphy@UAMAIL.ALBANY.EDU)
Date: Tue Mar 16 2004 - 12:34:27 EST


Try wget for command line browsing.

--
*---------------------------------------------------------------------------
*
  Stephen T. Murphy
  Manager, Database and Technical Support
  ITS - University Applications Development
  MSC-100
  The University at Albany, S.U.N.Y.
  Albany,  New York    12222
  Phone: (518) 437-4523     Fax: (518) 437-4540
   <mailto: SMurphy@UAMail.Albany.EDU> MailTo: SMurphy@UAMail.Albany.EDU
AIM: SMurphy199
-----Original Message-----
From: Darryl Ousterhout [mailto:D.Ousterhout@LABSAFETY.COM]
Sent: Tuesday, March 16, 2004 12:19 PM
To: aix-l@Princeton.EDU
Subject: HTTP Request In A Script
Admins,
Not sure if this can be done or not. I need to make an HTTP request to a
server from within a script. This is for a monitoring script that will page
my phone when a high threshold is reached (like a full filesystem). I have
the syntax from an .asp file that makes the request via a Windows browser,
but I have no clue how to do this from within a korn shell script. Here is a
sample of the syntax:
//var winhandle = window.open('http://xx.xx.xx.xxx/index.php?number=' +
txtNumber + '&message=' + txtMessage + '&Send=Send'  , 'def',
width=700,height=600,screenX=0,screenY=0,location=no,resizable=yes,scrollbar
s=yes');
Or if anyone has something similar implemented that they'd like to share,
that would be a great help also.
Thanks in advance,
-Darryl


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:43 EDT