|
|
|
|
|
by jodrellblank
1910 days ago
|
|
If you use powershell / invoke-restmethod it will return json and get deserialised into a structured object, too. PS C:\> irm ipinfo.io
PS C:\> $x = irm ipinfo.io
PS C:\> $x.timezone
Europe/London
Personally, I use http://checkip.dyndns.org/ by habit, with its one-line return. |
|
Your example doesn't work. It needs to be:
Your other example can be get like this: