Download Jar. Libraryless. Click here for Pure Java version (50L/1K).
1 | !7 |
2 | |
3 | import javax.net.ssl.HttpsURLConnection; |
4 | |
5 | p { |
6 | // Certificate problem is now fixed (had to serve full chains) |
7 | //disableCertificateValidation(); |
8 | |
9 | String httpsURL = "https://botcompany.de/"; |
10 | URL myUrl = new URL(httpsURL); |
11 | HttpsURLConnection conn = (HttpsURLConnection)myUrl.openConnection(); |
12 | InputStream is = conn.getInputStream(); |
13 | InputStreamReader isr = new InputStreamReader(is); |
14 | BufferedReader br = new BufferedReader(isr); |
15 | |
16 | String inputLine; |
17 | |
18 | while ((inputLine = br.readLine()) != null) { |
19 | System.out.println(inputLine); |
20 | } |
21 | |
22 | br.close(); |
23 | } |
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: | 483 / 1074 |
Version history: | 5 change(s) |
Referenced in: | [show references] |