Basic Authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that contains the word Basic followed by a space and a base64-encoded string username: password.
For example, to authorize as "demo/p@55word" the client would send the authentication information in base-64 encoding. “HTTP request” block is used to call a URL with an HTTP or HTTPS request and optionally use the response data.
Basic authentication can be achieved with the help of the HTTP Request block.
Please check the example below of an example of an HTTP Request block with various fields populated.
|You can download the attached case and try it out yourself by importing the case in Leapwork. Read here: How to Export and Import test|
For any clarification, please contact our Priority Support.