▲ | Better Curl Saul: a lightweight API testing CLI focused on UX and simplicity(github.com) | |||||||
71 points by jicea 3 days ago | 14 comments | ||||||||
▲ | esafak 3 days ago | parent | next [-] | |||||||
In https://github.com/ducaale/xh it's something like
| ||||||||
| ||||||||
▲ | davidkunz 3 days ago | parent | prev | next [-] | |||||||
It's all good, man! | ||||||||
▲ | imiric 3 days ago | parent | prev | next [-] | |||||||
I suppose this helps with managing sessions specifically during testing, but IMO the "disgusting" curl command looks fine to me. The UX of iteratively running commands to change request values instead of changing a single curl command seems worse to me. With the curl approach you can see exactly what is being sent at all times, you can press `v` (or `C-x C-e` if you're a masochist) to edit the command in $EDITOR, and the command remains in your shell history for quick lookup. I think that all these tools that try to replace curl for the sake of improving UX miss the mark in some way. Just use curl, and wrap it in some aliases or shell scripts if you must. curl is brilliantly designed, already has great UX, and is available everywhere. | ||||||||
| ||||||||
▲ | fcpguru 3 days ago | parent | prev | next [-] | |||||||
and if anyone needs an actual lawyer https://bettercallsy.com/ | ||||||||
▲ | selectnull 3 days ago | parent | prev | next [-] | |||||||
A few years ago I was thinking about that same problem and came up with this: https://github.com/selectnull/endpoint I don't see myself having the time to implement all the features I sometimes (half-assed) think of. It's semi useful tool, sometimes. | ||||||||
▲ | tux1968 3 days ago | parent | prev | next [-] | |||||||
These guys must be very smart. Does this thing solve cache invalidation too? | ||||||||
▲ | mvieira38 3 days ago | parent | prev | next [-] | |||||||
The UX seems genuinely good | ||||||||
▲ | dominicq 3 days ago | parent | prev | next [-] | |||||||
Do you think a man just happens to call an API without an authorization header? Give me a break. He orchestrated it! Jimmy! | ||||||||
▲ | landonia 3 days ago | parent | prev | next [-] | |||||||
best tool name ever | ||||||||
▲ | felhr 2 days ago | parent | prev | next [-] | |||||||
I will start using it only because of the name | ||||||||
▲ | chooma 3 days ago | parent | prev | next [-] | |||||||
Upvoted because I giggled :) | ||||||||
▲ | techlatest_net 2 days ago | parent | prev [-] | |||||||
[dead] |