8 lines
276 B
Text
8 lines
276 B
Text
|
|
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
|