numero = 50459
interpreted = N
texte = Hi everyone,I trawled the archives for a clue as to why this doesnąt work:[TCPConnect host=secure2.epdq.co.uk&port=80][TCPSend][UnURL]%0D%0A%0D%0A[/UnURL]POST /cgi-bin/CcxBarclaysEpdqEncTool.eHTTP/1.1[UnURL]%0D%0A[/UnURL][!][/!]Connection: close[UnURL]%0D%0A[/UnURL][!][/!]User-Agent: Mozilla/4.03 [en] (Win95; I ;Nav)[UnURL]%0D%0A[/UnURL][!][/!]Host: secure2.epdq.co.uk[UnURL]%0D%0A[/UnURL][!][/!]Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,*/*[UnURL]%0D%0A[/UnURL][!][/!]Accept-Language: en[UnURL]%0D%0A[/UnURL][!][/!]Accept-Charset: iso-8859-1,*,utf-8[UnURL]%0D%0A[/UnURL][!][/!]Content-length: 83[UnURL]%0D%0A%0D%0A[/UnURL][!][/!]clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826&total=9.99[UnURL]%0D%0A%0D%0A[/UnURL][!][/!][/TCPSend][/TCPConnect] The TCPconnect works, but the server returns Error 500.I used NetDemon to submit a post and tried in the sample above to duplicatewhat NetDemon was successfully posting to the same server.Netdemon seemed to show a double CR LF at start, and either side of postdata. Here is the full NetDemon report of successful post:--- 05/18/03 19:42:13 GMT Daylight Time--- reading URL http://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdqEncTool.e--- contacting host secure2.epdq.co.uk [194.102.15.248] on port 80--- Sending HTTP Request:POST /cgi-bin/CcxBarclaysEpdqEncTool.e HTTP/1.1Connection: closeUser-Agent: Mozilla/4.03 [en] (Win95; I ;Nav)Host: secure2.epdq.co.ukAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*Accept-Language: enAccept-Charset: iso-8859-1,*,utf-8Content-length: 83clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826&total=9.99--- server response:HTTP/1.1 200 OKServer: Netscape-Enterprise/4.1Date: Sat, 17 May 2003 18:40:18 GMTContent-type: text/html;charset=iso-8859-1Content-length: 266Connection: close--- connection closedWhat did I do wrong?YoursPhilip Edell.-------------------------------------------------------------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:
Hi everyone,I trawled the archives for a clue as to why this doesnąt work:[TCPConnect host=secure2.epdq.co.uk&port=80][tcpsend][unurl]%0D%0A%0D%0A[/UnURL]POST /cgi-bin/CcxBarclaysEpdqEncTool.eHTTP/1.1[unurl]%0D%0A[/UnURL][!][/!]Connection: close[unurl]%0D%0A[/UnURL][!][/!]User-Agent: Mozilla/4.03 [en] (Win95; I ;Nav)[unurl]%0D%0A[/UnURL][!][/!]Host: secure2.epdq.co.uk[unurl]%0D%0A[/UnURL][!][/!]Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,*/*[unurl]%0D%0A[/UnURL][!][/!]Accept-Language: en[unurl]%0D%0A[/UnURL][!][/!]Accept-Charset: iso-8859-1,*,utf-8[unurl]%0D%0A[/UnURL][!][/!]Content-length: 83[unurl]%0D%0A%0D%0A[/UnURL][!][/!]clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826&total=9.99[unurl]%0D%0A%0D%0A[/UnURL][!][/!][/TCPSend][/TCPConnect] The TCPconnect works, but the server returns Error 500.I used NetDemon to submit a post and tried in the sample above to duplicatewhat NetDemon was successfully posting to the same server.Netdemon seemed to show a double CR LF at start, and either side of postdata. Here is the full NetDemon report of successful post:--- 05/18/03 19:42:13 GMT Daylight Time--- reading URL http://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdqEncTool.e--- contacting host secure2.epdq.co.uk [194.102.15.248] on port 80--- Sending HTTP Request:POST /cgi-bin/CcxBarclaysEpdqEncTool.e HTTP/1.1Connection: closeUser-Agent: Mozilla/4.03 [en] (Win95; I ;Nav)Host: secure2.epdq.co.ukAccept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*Accept-Language: enAccept-Charset: iso-8859-1,*,utf-8Content-length: 83clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826&total=9.99--- server response:HTTP/1.1 200 OKServer: Netscape-Enterprise/4.1Date: Sat, 17 May 2003 18:40:18 GMTContent-type: text/html;charset=iso-8859-1Content-length: 266Connection: close--- connection closedWhat did I do wrong?YoursPhilip Edell.-------------------------------------------------------------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/
Philip Edell
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...