A simple command line tool to test your REST API.
- Made in OS : Raspbian
- Tested in OS : Raspbian, Ubuntu Server 10.04 LTS
- Language Used : Shell Script (Bash)
- Dependencies : curl
- License : BSD 3-Clause License
Create the scripts
folder in your home and move rest.bash
to there:
$ mkdir ~/.scripts
$ mv rest.bash ~/.scripts/.
Now make the command available for your user:
$ echo ". ~/.scripts/rest.bash" >> ~/.bashrc
$ echo ". ~/.scripts/rest.bash" >> ~/.bash_profile
You only need say the HTTP Method and URL:
$ rest GET http://api.com
- GET
- POST
- PUT
- DELETE
- Support Basic-Auth
- Support API key
- Support store response in a file