Accessing a URL Site

Is there an easy way to write code to access a website?


Like this or easier?

Thanks I found another way

please provide a scxreenshot of your solution to help others with the same question in future

This site I cant get to work:

But yet it will work on my laptop or on a browser on my phone. Anyideas?

works in either of the 2 options


Itried those 2 they didnt work. I foind another way.

sometimes u use https://
other times I use http://

sometimes the websites wont open.

And it is logical, it will depend on the website, if it is https or http.
In the url you provided, my sample worked without problems

Thank u I found that out