HTTPS/Authenticated: Difference between revisions

m
Line 26:
<lang bacon>OPTION TLS TRUE
 
website$ = "chiselappwebsite.com"
username$ = "nobody"
password$ = "ignore"
Line 32:
OPEN website$ & ":443" FOR NETWORK AS connection
 
SEND "GET /user/bacon/repository/bacon/index HTTP/1.1\r\nHost: " & website$ & "\r\nAuthorization: Basic " & B64ENC$(username$ & ":" & password$) & "\r\n\r\n" TO connection
 
WHILE WAIT(connection, 2000)
Anonymous user