What is basic authentication?
The basic authentication scheme requires the user to send the access credentials encoded in base64 or send an authorization token.
REST Assured provides an easy way to configure and handle the credentials/token that the request requires.
The authentication is applicable to any
HTTP Request like
Let’s understand basic authentication better with an example code snippet:
- HTTP method: GET
- Target URL:
- Resource path:
- Authentication type: Basic