Re: TCPCONNECT ---- POST?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58981
interpreted = N
texte = Heres an example of a POST .. [text]crlf=[unurl]%0D%0A[/unurl][/text] [text]the_variables=method=[url]get[/url]&template=[url]F1001[/ url]&ASXCodes=[url]ops[/url][/text] [middle startafter=

Your shares


&endbefore=Chart] [tcpconnect host=www.asx.com.au&port=80] [tcpsend][!] [/!]POST /asx/markets/PriceResults.jsp HTTP/1.1[crlf][!] [/!]Referer: http:/[thisURL][crlf][!] [/!]Host: www.asx.com.au[crlf][!] [/!]Content-type: application/x-www-form-urlencoded[crlf][!] [/!]Content-length: [countchars][the_variables][/countchars][crlf][!] [/!][crlf][!] [/!][the_variables][crlf][!] [/!][/tcpsend] [/tcpconnect] [/middle] [!]Fix the chunk of HTML we cut off .. [/!] Chart On 05/08/2004, at 8:34 AM, John Peacock wrote: > Brian Boegershausen wrote: > >> Does Post work as an option in a tcpconnect send command. >> I am trying to send data to a site that only allows the POSTing of >> data. >> Not going to waste the time coding it if I cant do it. > > No, it's not an option to tcpconnect, but you can easily use POST as > part of what [tcpsend] transmits to the remote site. [tcpconnect] is > barely smarter than a telnet session, but whatever a browser can send, > you can send via [tcpsend]. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: TCPCONNECT ---- POST? ( Alain Russell 2004)
  2. Re: TCPCONNECT ---- POST? ( John Peacock 2004)
  3. TCPCONNECT ---- POST? ( "Brian Boegershausen" 2004)
Heres an example of a POST .. [text]crlf=[unurl]%0D%0A[/unurl][/text] [text]the_variables=method=[url]get[/url]&template=[url]F1001[/ url]&ASXCodes=[url]ops[/url][/text] [middle startafter=

Your shares


&endbefore=Chart] [tcpconnect host=www.asx.com.au&port=80] [tcpsend][!] [/!]POST /asx/markets/PriceResults.jsp HTTP/1.1[crlf][!] [/!]Referer: http:/[thisurl][crlf][!] [/!]Host: www.asx.com.au[crlf][!] [/!]Content-type: application/x-www-form-urlencoded[crlf][!] [/!]Content-length: [countchars][the_variables][/countchars][crlf][!] [/!][crlf][!] [/!][the_variables][crlf][!] [/!][/tcpsend] [/tcpconnect] [/middle] [!]Fix the chunk of HTML we cut off .. [/!] Chart On 05/08/2004, at 8:34 AM, John Peacock wrote: > Brian Boegershausen wrote: > >> Does Post work as an option in a tcpconnect send command. >> I am trying to send data to a site that only allows the POSTing of >> data. >> Not going to waste the time coding it if I cant do it. > > No, it's not an option to tcpconnect, but you can easily use POST as > part of what [tcpsend] transmits to the remote site. [tcpconnect] is > barely smarter than a telnet session, but whatever a browser can send, > you can send via [tcpsend]. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4501 Forbes Boulevard > Suite H > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5748 > > ------------------------------------------------------------- > 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 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Alain Russell

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:

php + WebCatalog in same files (2001) passing search criteria (1997) Empty Shopping Carts (1998) Sorta OT: Printing From Browser Window (2001) Searching multiple Databases (1997) how to post without certain data appearing in the html source (2001) math with multiple [founditems] (1999) PCS Frames (1997) Summary search -- speed (1997) movefile occasionally not working (long, code included) (2001) Generating unique SKU from [cart] (1997) carriage returns in data (1997) FYI: virus alert (1996) webcat- multiple selection in input field (1997) RAM variables (1997) creator code (1997) Anyone using Editize (inline html editor) w/ WebDNA (2003) [Sum] function? (1997) a search based on ^(contains) (1998) Replacing a variable within a variable. (1998)