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 available libraries for WebDNA...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
Download WebDNA ApplicationsWebDNA applications...
WebDNA ModulesA list of the currently available modules...
[biotype]BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
How 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...
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...
How do I get the content of a returned page?...
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...