Skip to content

Instantly share code, notes, and snippets.

@filiphric
Last active September 28, 2019 05:23
Show Gist options
  • Save filiphric/f69f35c11c672964ff1b3041a4fb6e54 to your computer and use it in GitHub Desktop.
Save filiphric/f69f35c11c672964ff1b3041a4fb6e54 to your computer and use it in GitHub Desktop.
authorization
cy
.request({
method: 'GET',
url: {{url}},
headers: {
// YWJjZA== is 'abcd' encoded to base64
authorization: 'Basic YWJjZA=='
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment