Encoding Error - cli download

I am trying to use the deploy API for Mendix on a private cloud. As part of the process, I need to download the mendix-cli. When attempting to implement this API in PowerShell, I encountered character encoding issues, resulting in garbled text. What would be the best approach to handle character encoding to avoid this problem?     $headers = @{     "accept" = "*/*"     "Authorization" = "MxToken $accessToken" }   $requestUrl = "$getCliEndpoint/$cliVersion" + "?os=windows&architecture=x86"   $response = Invoke-RestMethod -Uri $requestUrl -Method POST -Headers $headers
0 answers