so I can access a page that normally needs to be logged into via the browser's authentication dialog? In other words, what must I add to this code to make it work?
numero = 52[TCPConnect host=192.168.1.1&port=80][tcpsend]GET /index.tpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl]Authorization: Basic [Encrypt method=Base64]Username:Password[/Encrypt] [unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/TCPConnect](Change Username and Password to your actual values) You need to add an "Authorization" HTTP header to your request:
[TCPConnect host=192.168.1.1&port=80]
[tcpsend]GET /index.tpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl]
Authorization: Basic [Encrypt method=Base64]Username:Password[/Encrypt] [unurl]%0D%0A%0D%0A[/unurl][/tcpsend]
[/TCPConnect]
DOWNLOAD WEBDNA NOW!
WebDNA applications...
WebDNA reference...
Tips and TricksA list of user-submitted tips ...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA LibrariesA list of available libraries for WebDNA...
F.A.QA compilation of some user's questions...
...
a [shownext] exampleHow to use [shownext] to create "Next | Previous" search results the same way Google does...
an example of application for [shownext]How to use [shownext] to create "Next | Previous" search results the same way Google does...
How do I make tcpconnect send a username and password like the browser does?so I can access a page that normally needs to be logged into via the browser's authentication dialog? In other words...
alternative to [shownext]This will show your next links in the format of Page 1 | 2 | 3 etc and can be used even when the page isn't a results page from a [search] command...
another [shownext] exampleHow to use [shownext] to create "Next | Previous" search results the same way Google does...