• Post Reply Bookmark Topic Watch Topic
  • New Topic

Posting to a HTTPS site using URLConnection  RSS feed

 
Satyashree Mahapatra
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If I need to post data using URLConnection/HttpURLConnection with the URL being "https://www.abc.com", do I need to do anything special for HTTPS ?
Thanks
 
Sandra Sharpe
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to download the Java Secure Socket Extensions api ( JSSE ). This has the class HttpsUrlConnection that you can use to perform a secure post similar to using the HttpUrlConnection to perform an unsecure one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!