質問編集履歴

3

ミス修正

2020/01/23 16:13

投稿

kurisan1623
kurisan1623

スコア36

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,9 @@
28
28
 
29
29
  # リクエストヘッダ取得
30
30
 
31
+ $URL = 'http://www.vim.org/scripts/download_script.php?src_id=19574'
32
+
31
- $response = $httpClient.GetAsync($Uri, 1)
33
+ $response = $httpClient.GetAsync($URL, 1)
32
34
 
33
35
  $uri = $response.Result.RequestMessage.RequestUri #これがほしい
34
36
 

2

ミス修正

2020/01/23 16:13

投稿

kurisan1623
kurisan1623

スコア36

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- httpclientでは以下のようなコードです。
7
+ powershellのhttpclientでは以下のようなコードです。
8
8
 
9
9
  ```powershell
10
10
 

1

修正

2020/01/23 15:53

投稿

kurisan1623
kurisan1623

スコア36

test CHANGED
File without changes
test CHANGED
@@ -28,9 +28,9 @@
28
28
 
29
29
  # リクエストヘッダ取得
30
30
 
31
- $response = [DownloadClient]::HttpClient.GetAsync($Uri, 1)
31
+ $response = $httpClient.GetAsync($Uri, 1)
32
32
 
33
- $uri = $response.Result.RequestMessage.RequestUri # これがほしい
33
+ $uri = $response.Result.RequestMessage.RequestUri #これがほしい
34
34
 
35
35
  ```
36
36