Curler
Curler is an extention that allows you to run curl commands, and view results within Visual Studio Code.
Usage
- Curler file is just a bash file, with
curler.sh extension.
- Extention will get activated when there is curl command.
- Clicking
Run button will execute the complete file.
- Write success result and error to file.
Variables
As its just a Bash file, you can treat it as a normal bash file. You can use variables, and other bash commands.
# vars.sh
base=example.com
# sample.curler.sh
. /home/sumeet/Projects/vars.sh
curl $base
Requirements
curl must be installed on your system. Many systems come with curl pre-installed.
To Do
- Better result opening. I.e. open result in new file.
- Set language mode for result file.
| |