|
command getAuthWebResource
|
|
libURLFollowHttpRedirects true
|
|
libURLSetSSLVerification true
|
|
set the httpHeaders to "Authorization: Basic " && base64Encode("user:passwd")
|
|
put URL "https://example.basicauth.com" into response
|
|
put response
|
|
end getAuthWebResource
|