Closed
Description
Recently hit an issue where a server no longer was returning json content as a string, tried a few things but will need to test this out.
attempted to force contenttype on get
-ContentType 'application/json'
That didn't really do anything and i'm not sure in the grand scheme it's relevant
went through several iterations but found a nice article https://stackoverflow.com/a/55345547/2258870
Decided to catch the response in an object and pass the output through string:new
[string]::new($Response.Content) |ConvertFrom-Json;