Download Jar. Libraryless. Click here for Pure Java version (50L/1K).
!7 import javax.net.ssl.HttpsURLConnection; p { // Certificate problem is now fixed (had to serve full chains) //disableCertificateValidation(); String httpsURL = "https://botcompany.de/"; URL myUrl = new URL(httpsURL); HttpsURLConnection conn = (HttpsURLConnection)myUrl.openConnection(); InputStream is = conn.getInputStream(); InputStreamReader isr = new InputStreamReader(is); BufferedReader br = new BufferedReader(isr); String inputLine; while ((inputLine = br.readLine()) != null) { System.out.println(inputLine); } br.close(); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1013483 |
Snippet name: | Test https (OK) |
Eternal ID of this version: | #1013483/6 |
Text MD5: | 205e5834b10fdcf6a09bfd7b428b33e1 |
Transpilation MD5: | 11a06b14f45205ea66406d117117c212 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-03 10:19:22 |
Source code size: | 596 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 482 / 1070 |
Version history: | 5 change(s) |
Referenced in: | -