I have an Endpoint that simply returns data from Get-ADuser, when running it with
Invoke-RestMethod https://beta.middlewaredashboard.domain/ADQuery/AllEmployees/something
or
Invoke-RestMethod https://beta.middlewaredashboard.domain/ADQuery/AllEmployees/something -ContentType 'application/json; charset=utf-8'
it returns gibberish in place of ÆØÅ characters.
Any tips on getting it to return the data properly encoded?
Product: PowerShell Universal
Version: 2.7.3