Code: Alles auswählen
:setAuthorization( [<cUsername>, <cPassword>] ) --> self
Was aber wenn ich sowas benötige:
hier als Syntax aus Curl.Option 2: Pass Authorization header
If you want to have a full control over your HTTP request, you might want to Base64 encode your username:password and place it into Authorization header.
Curl command should look like this:
curl -H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' https://example.com
Wie kann man das bei Alaska übergeben?