News for hackers. Stuff that matters.
Re:Curl Wttr.in by vips7L on Saturday June 27, 2020 @11:48PM (#23666626)
> my console rather than this Invoke-WhatEver thing, because at least it seems programming language-y and names are consistent with all other web software.

Because curl is consistent?

> urn:isbn:0451450523

Curl can't do whatever this is either?

Re:Curl Wttr.in by wruza on Sunday June 28, 2020 @06:02AM (#23667765)
Because that seems programming language-y and names are consistent with all other web software.

>Curl can't do whatever this is either?

Right. This is a valid URI, which Invoke-RestMethod uses as a parameter name (-Uri) and which is a unique id for a resource and not its location (it could be, but not in this particular case). They should not have call that argument β€œURI”, if what they actually do is fetching from a URL.