Difference between revisions of "Invoke-webrequest"
Jump to navigation
Jump to search
(Created page with "``` $url="https://www.uvoo.io"; (Measure-Command -Expression { $site = Invoke-WebRequest -Uri $url -UseBasicParsing }).Milliseconds ```") |
|||
| Line 1: | Line 1: | ||
``` | ``` | ||
| + | Invoke-WebRequest https://10.x.x.x/foo/bar -Headers @{ host="api.example.com" } -SkipCertificateCheck | ||
| + | |||
$url="https://www.uvoo.io"; (Measure-Command -Expression { $site = Invoke-WebRequest -Uri $url -UseBasicParsing }).Milliseconds | $url="https://www.uvoo.io"; (Measure-Command -Expression { $site = Invoke-WebRequest -Uri $url -UseBasicParsing }).Milliseconds | ||
``` | ``` | ||
Latest revision as of 16:44, 7 September 2023
Invoke-WebRequest https://10.x.x.x/foo/bar -Headers @{ host="api.example.com" } -SkipCertificateCheck
$url="https://www.uvoo.io"; (Measure-Command -Expression { $site = Invoke-WebRequest -Uri $url -UseBasicParsing }).Milliseconds