powershell 相当于curl 命令

标签 powershell curl

寻找与以下 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/

相关文章:

powershell - 如何隐藏 Azure PowerShell cmdlet 的警告

redirect - x86 进程中的 Powershell - 访问 64 位程序文件

powershell - 如何在Powershell中递归附加到文件名?

curl - 如何使用 curl 为没有前导斜杠的文件生成 http 1.0 请求?

linux - "Ignore"我的 Bash 脚本中位置参数中的引号

powershell - 如何检查密码复杂性?

powershell - VS Code 总是提示 : "older version of PackageManagement known to cause issues"

c++ - Windows 链接

curl - CouchDB 查看多个键值对

curl - libCurl x64 构建问题 Visual Studio 2013 (x64) Visual Studio & CMake