Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,7 @@
$client = [Net.WebClient]::new()
# credentials of current user:
$client.Credentials = [Net.CredentialCache]::DefaultCredentials
# or specify credentials manually:
# $client.Credentials = [System.Net.NetworkCredential]::new("User", "Password")
$data = $client.DownloadString("https://example.com")
Write-Host $data

View file

@ -0,0 +1,9 @@
;; Encode the string "admin:admin" into Base64 format
auth: enbase "admin:admin" 64
;; Perform an HTTP GET request to a test endpoint requiring Basic Authentication
print write https://httpbin.org/basic-auth/admin/admin compose/deep [
GET [
;; Include HTTP header "Authorization: Basic <base64 credentials>"
Authorization: (join "Basic " auth)
]
]

View file

@ -0,0 +1,2 @@
system/options/quiet: on ;; turns off all traces
system/options/log/http: 0 ;; turns off just HTTP traces