There was an error while loading. Please reload this page.
Sets the content type for the response.
Example:
New-GetRoute -Path "/helloworld" -ScriptBlock { $json = @{ wow = "hey" } $response.SetContentType("application/json"); $response.Send((ConvertTo-Json $json)); }