Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
At a glance
Goal: Fix binary mocking with special chars
Time: 3 minutes
Plugins: MockResponsePlugin
Prerequisites: Set up Dev Proxy
The dollar sign has special meaning in some shells and might need to be escaped.
In PowerShell, use a backtick:
Invoke-WebRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/users/id/photo/`$value" -Proxy http://localhost:8000
In bash, wrap the URL in double quotes and add a backslash:
curl -ikx http://localhost:8000 "https://graph.microsoft.com/v1.0/users/id/photo/\$value"