Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add restish #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add restish #96

wants to merge 1 commit into from

Conversation

waldyrious
Copy link

/cc @danielgtaylor for awareness (and any recommendations regarding the text or image)

Image adapted from the code sample at the blog post A CLI for REST APIs, using Prismjs's Okaidia color theme.

@slavaGanzin
Copy link

slavaGanzin commented Apr 17, 2022

Would nicely play with elasticsearch: in docs they write stubs like: GET /_search and you supposed to translate it to curl 127.0.0.1:9200/_search which is tedious, but with restish it would be easy.

Whoa, it works, even without config: restish :9200/_search. Nice!

Recently switched from httpie to xh, found it in PR here :)
But will try restish as an alternative, thanks
Awesome work with openapi! But a bit not obvious from the docs

@danielgtaylor thanks for your work

p.s. Besides, are websockets on a roadmap?

@danielgtaylor
Copy link

@slavaGanzin no concrete plan for websockets or SSE at the moment. Would love to understand the use-cases more before adding features related to those!

@slavaGanzin
Copy link

I want to use my websocket endpoints as I'm doing this with my REST endpoints. That's it.
Trigger, test, parse.

But I think it would be harder, there is no protocol for data format in websockets. Somebody use it as plain text protocol, somebody with json, and I, myself, with msgpack. Quite a lot to configure

@johnalanwoods
Copy link

good stuff, please PR to my maintained fork here: https://github.com/johnalanwoods/maintained-modern-unix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants