resty
resty copied to clipboard
Little command line REST client that you can use in pipelines (bash or zsh).
Not sure if I was doing something wrong but after ``` git clone [email protected]:micha/resty.git . resty resty HOST GET /URL ``` The ~/.resty/c was not created and the cookies were...
This allows to overwrite existing files on output redirect with `>`. Fixes issues: https://github.com/micha/resty/issues/78 and https://github.com/sorin-ionescu/prezto/issues/1527
Hello, Does this support proxies? or the 'http_proxy' environment variable? I am using a socks proxy. Thanks, Umar
Only after adding `shopt -s expand_aliases` as suggested by https://unix.stackexchange.com/a/1498/60622 were GET and POST recognized in my bash script that tried to call them. Please add that command before the...
In zsh this works: ``` > curl 'https://qrng.anu.edu.au/API/jsonI.php?type=uint8&length=10' {"type":"uint8","length":10,"data":[214,140,44,142,254,214,185,107,213,30],"success":true} ``` but this doesn't ``` > resty https://qrng.anu.edu.au/API > GET /jsonI.php -q "type=uint8&length=10" {"success":false} ``` It appears that resty quotes the...
I'm following the git instructions, but I am unable to successfully load resty in the shell on a Mac. I wanted to ask if I'm mis-understanding the `source` syntax When...
The default shell on the latest macOS is Z shell and it seem to have issues with Resty: The problem is that when running under `zsh` the special characters in...
When a subshell is created the resty functions are not exported. That patch fix the problem on bash shell, others shells can not have this kind of functionality.
It was brought to my attention today, that the screencast has been been removed from the source at screencast.com, so I updated by blog post accordingly. As such, I believe...