24.03.2023, 06:21
You cannot use basic authentication in the URL in modern browsers as it’s blocked.
The reason that it works directly in the browser is that you probably have entered the credentials in that session or stored it so it doesn’t have to use the credentials passed in the URL.
The reason that it works directly in the browser is that you probably have entered the credentials in that session or stored it so it doesn’t have to use the credentials passed in the URL.