| r9 vs r10 | ||
|---|---|---|
| ... | ... | |
| 20 | 20 | print(a.text) |
| 21 | 21 | }}} |
| 22 | 22 | |
| 23 | {{{#!syntax csharp | |
| 24 | using System; | |
| 25 | using System.Net.Http; | |
| 26 | using System.Threading.Tasks; | |
| 27 | ||
| 28 | class Program | |
| 29 | { | |
| 30 | static async Task Main(string[] args) | |
| 31 | { | |
| 32 | string url = "https://www.google.com"; | |
| 33 | ||
| 34 | using (HttpClient client = new HttpClient()) | |
| 35 | { | |
| 36 | HttpResponseMessage response = await client.PostAsync(url, null); | |
| 37 | ||
| 38 | Console.WriteLine(response); | |
| 39 | string text = await response.Content.ReadAsStringAsync(); | |
| 40 | Console.WriteLine(text); | |
| 41 | } | |
| 42 | } | |
| 43 | } }}} | |
| 44 | {{{#!syntax cpp | |
| 45 | ||
| 46 | }}} | |
| 47 | ||
| 23 | 48 | == 범죄 == |
| 24 | 49 | 사이버 공격은 엄연한 범죄이다. |