TCPsend with POST?

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24994
interpreted = N
texte = Hello everybody! Did anyone of you get TCPsend to work with POST-Requests?I tried to figure out a correct HTTP-header with OTSessionWatcher, but this code does not work: Courier[TCPconnect host=www.foo.net&port=80][TCPsend]POST /foo.asp HTTP/1.0[unurl]%0D%0A[/unurl]Referer: http://www.foo.net/foo.asp[unurl]%0D%0A[/unurl]User-Agent: Mozilla/4.5 [de] (Macintosh; I; PPC)[unurl]%0D%0A[/unurl]Host: www.foo.net[unurl]%0D%0A[/unurl]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A[/unurl]Content-lenght: 200[unurl]%0D%0A[/unurl][unurl]%0D[/unurl][unurl]%0A[/unurl]Helvetica[formvariables name=t_&exact=F][getchars start=3][name][/getchars]=[url][value][/url]&[/formvariables]x=47&y=15Courier[unurl]%0D%0A[/unurl][/tcpsend][/TCPconnect] The remote server seems not to get the query strings. Can anybody help me out? TIA Matthias------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: TCPsend with POST? (Rob Marquardt 1999)
  2. TCPsend with POST? (Matthias Precht 1999)
Hello everybody! Did anyone of you get TCPsend to work with POST-Requests?I tried to figure out a correct HTTP-header with OTSessionWatcher, but this code does not work: Courier[TCPconnect host=www.foo.net&port=80][tcpsend]POST /foo.asp HTTP/1.0[unurl]%0D%0A[/unurl]Referer: http://www.foo.net/foo.asp[unurl]%0D%0A[/unurl]User-Agent: Mozilla/4.5 [de] (Macintosh; I; PPC)[unurl]%0D%0A[/unurl]Host: www.foo.net[unurl]%0D%0A[/unurl]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A[/unurl]Content-lenght: 200[unurl]%0D%0A[/unurl][unurl]%0D[/unurl][unurl]%0A[/unurl]Helvetica[formvariables name=t_&exact=F][getchars start=3][name][/getchars]=[url][value][/url]&[/formvariables]x=47&y=15Courier[unurl]%0D%0A[/unurl][/tcpsend][/TCPconnect] The remote server seems not to get the query strings. Can anybody help me out? TIA Matthias------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Matthias Precht

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

no global [username] or [password] displayed ... (1997) Help name our technology! (1997) Three new problems, maybe a fourth (1997) Webcatalog server support (1997) Weird Math and SV (1997) 2 easy questions re: [showif] and [sendmail] (1997) Shell script within a sandbox (2005) PARAMETER vs. OPERATOR (was The BUG is BACK ...) (1998) Re[2]: searches with dash, period etc. (back form politenes (2000) Is this google friendly? (2003) Date field search needs ... (1998) [WebDNA] WebDNA code displaying on page (2012) searchable list archive (1997) Fun with dates (1997) Hairy Shipping Monster (2006) More on the email templates (I like it) (1997) Secure Server (1997) Page Counters? (1997) [item] appears after 'remove last item' ... (1997) [WebDNA] How to generate md5 hash on linux (2009)