Hi
I want to open a stream to a httpS URL and read the data.
Kindly let me know how to do it.
Regards Chaitanya
Hi
I want to open a stream to a httpS URL and read the data.
Kindly let me know how to do it.
Regards Chaitanya
In what language?
This is quite easy to do in something like PHP - a little more complex in other languages, though. Need more info before we can help!
Here's a Sun tutorial on Reading from / Writing to URL connection.
Opening HTTPS connection is no different from opening HTTP connection; if you need to use https-specific methods you can class cast the result of url.openConnection()
to HttpsURLConnection:
URL url = new URL("https://your.https.url.here/");
HttpsURLConnection connection = (HttpsURLConnection) myurl.openConnection();