Powershell Error using GET request: Cannot connect to remote server
This is based on the Postman documentation and some other stuff I saw online. I am able to use the same API key and uri to perform a get through Postman.
For automation reasons I would like to use Powershell. This is a piece of a bigger script that generates a random password and makes an update using a PUT. I have simplified it to what is seen below in the screenshot (including making it a GET) to make it easier to diagnose (hopefully).
Also, if the uri has https, then do I need the tls1.2 line (line 3)?