Joshua McKinnon
My feedback
-
1 vote
Joshua McKinnon shared this idea ·
-
148 votes
Joshua McKinnon supported this idea ·
-
25 votes
Joshua McKinnon supported this idea ·
-
437 votes
Joshua McKinnon commented
AD is the *FIRST* (ok, second, after Hyper-V) role I want to deploy on Nano. Please support it.
Joshua McKinnon supported this idea ·
I hit this same issue tonight. Invoke-RestMethod -Method Post -Headers @{...;Content-Type="application/json; charset=utf-8"} -Body "... UTF8 JSON ..." -Uri $url
The charset=utf-8 is redundant, an attempt to help the situation that did not work Any special characters get clobbered and because it's a Post, I can't just handle it when it comes back - I need to send it to the server. It's not the web service, doing the same with curl results in the expected result. See also: https://social.technet.microsoft.com/Forums/en-US/d795e7d2-dcf1-4323-8e06-8f06ce31a897/bug-invokerestmethod-and-utf8-data?forum=winserverpowershell
which is a thread someone had 2 years ago.