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:

"top" Clarification ( for apache ) (2008) HomePage Caution (1997) Search probl. since change WebCatalog from 2.1.3 to 3.0 (1998) OT - help.. (2003) Emailer setup (1997) [thisURL] (was pre-parse hell) (2008) problems with 2 tags (1997) Bug Report, maybe (1997) Windows and Webcat! (2000) off topic - dna snipets (1997) getchars broken? (1997) OT: advice on Wintel server options (1998) WC2b15 File Corruption (1997) db not being written to disk (2003) Passing Cart variable to subdirectory files? (1997) Can't find templaes (1997) Trouble with formula.db (1997) Do search engines index .tpl pages? (2006) [subtotal] and others (1997) [Price] (1997)