We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Get the query parameters of a request.
Example:
New-WebRoute -Path "/hellome" -Method "GET" -ScriptBlock { if ($request.Query['name']) { $response.Send('Hello ' + $request.Query['name']); } else { $response.Send('Hello World'); } }
PS > Invoke-RestMethod -Uri http://localhost:8082/hellome?name=PowerShell Hello PowerShell