We have to pass the credentials appended with the URL. The username and password must be added with the format − https://username:password@URL.