If I have this right you are wanting a whole HTTP conversation between the client and server?
 
The main question really is what does the Website actually do with the info?
If as below it writes to a database can you not request direct access to the database?
 
I have a script which effectively talks HTTP (will simulate cookies as well), but it is very cutomised to an internal website (I was not allowed direct access to the dbase which it used).
 
So what happens is that the webserver response to the intial GET/POST requesting some for of credentials and then simply GET/POST the details back.
 
This should then (if successful) return a 302 or 200 ok response.... which obviously needs to be dealt with.  I did it this way because I can, rather than because it was the easiest method, an easier way is to automate the internet explorer com object using _vbscript_.  This saves you from the messy parsing of server responses and concentrating on what you need to achieve.
 
There are lots of ways that you can do this.  These are just a couple of examples.
 
 


From: Servers Alive Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo Radunz
Sent: 16 June 2006 19:51
To: Servers Alive Discussion List
Subject: Re: [SA-list] Alert via HTTP POST

Richard, I've done something like that.
In my case, the HTTP POST sends the id of the object (the server being monitored) to an ASP page.
The ASP code queries a database and retrieves a record based on the id received.
This record points to the phone and e-mail address of the tech support responsible for the object. The code then sends an alert email to an commercial email-to-SMS gateway to deliver the SMS message.
Let me know if you need more info.
 
Ronald
RCI Consulting S/A


 
On 6/15/06, Richard Sleegers <[EMAIL PROTECTED]> wrote:
I've searched the web archives and the manual, and there is a great POST
feature to check a web page. I would like to use it in a slightly different
way. I want to send an alert to a web-based CGI script. The CGI script takes
a message and phone number as input and sends a text message directly to a
phone. If I e-mail the phone address, I only receive a message indicating I
have a message, then I have to reply to read the actual message. (I don't
want so-called direct mail to keep costs down).

Is it possible using Servers Alive directly? Or is anyone aware of a command
line Windows binary which can post to a web script? (Sort of the opposite of
wget) My search to that end has also come up empty.

---------------------------------------------------
Richard Sleegers

To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure that they are not send to the list nor to the individual members of the list that send a message.  Doing this will get you removed from the list.



To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure that they are not send to the list nor to the individual members of the list that send a message. Doing this will get you removed from the list.

To unsubscribe send a message with UNSUBSCRIBE as subject to [email protected]
If you use auto-responders (like out-of-the-office messages), then make sure that they are not send to the list nor to the individual members of the list that send a message. Doing this will get you removed from the list.

Reply via email to