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!
A list of user-submitted tips ...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
F.A.QA compilation of some user's questions...
WebDNA ModulesA list of the currently available modules...
WebDNA LibrariesA list of available libraries for WebDNA...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
...
an example of application for [shownext]How to use [shownext] to create "Next | Previous" search results the same way Google does...
a [shownext] exampleHow to use [shownext] to create "Next | Previous" search results the same way Google does...
another [shownext] exampleHow to use [shownext] to create "Next | Previous" search results the same way Google does...
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...
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...