News for hackers. Stuff that matters.
Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by mathfailure on Sunday September 22, 2024 @05:07AM (#41615718)
The site seems down (just blank white page).
Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by mdaniel on Monday September 23, 2024 @12:24PM (#41627779)

      <div id="app"></div>
As expected :-/

Anyway, based on the page source it's just a rendered version of this https://github.com/danielgtaylor/restish/tree/main/docs

Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by maverick98 on Sunday September 22, 2024 @05:29AM (#41615835)
cool to see the CLI community building stuff
Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by tym0 on Sunday September 22, 2024 @07:53AM (#41616411)
The use of commas to separate key-value pairs here is perplexing to say the least, why have them at all? Does it means I now need to escape them if my value has a comma at the end?

From the docs:

  restish POST api.rest.sh \
    platform.name: HTTPie, \
    platform.about.mission: Make  APIs simple and intuitive, \
    platform.about.homepage: httpie.io, \
    platform.about.stars: 54000, \
    platform.apps: [Terminal, Desktop, Web, Mobile]
Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by mxuribe on Sunday September 22, 2024 @11:24AM (#41617686)
I appreciate that they have the following page which helps answer the very first question i had upon reading the intro, namely how this compares to a couple of existing tools (like curl, etc.): https://rest.sh/#/comparison
Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by Neywiny on Sunday September 22, 2024 @07:07PM (#41620871)
Can't curl do this?
Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by factormeta on Monday September 23, 2024 @04:19PM (#41630043)
Re:Restish: CLI for interacting with REST-ish HTTP APIs with... by Neywiny on Tuesday September 24, 2024 @05:24PM (#41641103)
So it looks like pretty much yes. I think the only real advantage I saw was the auth stuff. I guess this'll be a good tool in the toolbelt for when that time comes