micha / resty

Little command line REST client that you can use in pipelines (bash or zsh).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

enable GET and POST from within bash script

camilleg opened this issue · comments

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 . /path/to/resty ... command in the readme's section "Using Resty In Shell Scripts".