master
$headers=@{} $headers.Add("accept", "application/json") $headers.Add("x-foo", "Bar") $headers.Add("quoted-value", "`"quoted`" 'string'") $response = Invoke-RestMethod -Uri 'http://mockbin.com/har' -Method GET -Headers $headers