This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Josh Hendricks | MVP
joshooaj.com
did:plc:a3yierchgwp2lvyontsragui
You might be wondering why, if ifconfig.me is a website, you don't get the raw html in response in the terminal?
It's the 'User-Agent' header. The default User-Agent header in a request from Invoke-RestMethod is "Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.22631; en-US) PowerShell/7.4.6"
https://ifconfig.me
2024-12-04T18:57:57.786Z