I have a HTTPS URL and the login details (username and password). Can you please let me know how i can make a connection to this URL using the username and password? I need the java code for doing the same.
I am not finding a way to incorporate the user name and password. Also, i get some certificate exceptions when i try to connect to the URL plainly using the HTTPSUrlConnection class without using the username and password?
My requirement is to connect to the HTTPS URL using the username and password.