共用方式為


為什麼 Proxy 不會模擬我的二進位回應

美元符號在某些殼層中具有特殊意義,可能需要逃脫。

在 PowerShell 中,使用反引號:

Invoke-WebRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/users/id/photo/`$value" -Proxy http://localhost:8000

在bash中,以雙引弧括住URL,並新增反斜杠:

curl -ikx http://localhost:8000 "https://graph.microsoft.com/v1.0/users/id/photo/\$value"