Thanks Andu, just what I needed! Now I know I could do all this with sockets, but as there is built in "post" and "get" methods in metaTalk how do I set the httpheaders to look like below? Andu (pretty please), if you have a spare moment could you post examples of a form submission from Netscape/Explorer using the "get" method, and also what Metacard's built in "post" and "get = get url someurl?someparams". That would give a complete picture... Thanks > From: andu <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Fri, 14 Jul 2000 20:42:47 -0400 (EDT) > To: [EMAIL PROTECTED] > Subject: Re: POST > > > >> Andu, do you know what is sent in the http header from a browser such as >> Netscape/Explorer. If you could send me an example input I could see if I >> can get the CGI I am playing with to work? > This is a web page with 2 fields for username and password and a Submit > button: > > ______________________________________________________ > POST / HTTP/1.0 > Connection: Keep-Alive > User-Agent: Mozilla/4.7 (Macintosh; I; PPC) > Host: xxx.xxx.xxx.xxx > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* > Accept-Encoding: gzip > Accept-Language: en > Accept-Charset: iso-8859-1,*,utf-8 > Content-type: application/x-www-form-urlencoded > Content-length: 50 > > > Field-user=andu&Submit=Submit&Field-pass=also-andu > > __________________________________________________________ > > Notice the 2 empty lines between the header and the data (crlf & crlf) must be > there. > > > > Archives: http://www.mail-archive.com/metacard%40lists.best.com/ > Info: http://www.xworlds.com/metacard/mailinglist.htm > Please send bug reports to <[EMAIL PROTECTED]>, not this list. > > Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
