Sobes.tech
Junior — Senior

Authentication to a protected endpoint via Basic Auth without sending a request

livecode

Task condition

The endpoint is protected and requires authentication using the Basic Auth scheme. It is necessary to demonstrate how to form the required headers to access such an endpoint, using the username and password predefined in the code, without sending a request to the server.