寻找与以下 CURL 命令等效的 powershell:
curl -x "http://username:<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cfbfaebcbcb8a0bdab8ffef6fde1fef9f7e1fee1fe" rel="noreferrer noopener nofollow">[email protected]</a>:5001" "https://www.google.com"
在网上查了一下,但找不到类似的东西。
最佳答案
PowerShell 等效命令是以下命令:
Invoke-Webrequest -Proxy "http://username:<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="becedfcdcdc9d1ccdafe8f878c908f8886908f908f" rel="noreferrer noopener nofollow">[email protected]</a>:5001" -Uri "https://www.google.com"
关于powershell 相当于curl 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60316985/