This Visual Studio Code extension is based on https://github.com/tanhakabir/rest-book.git.
- Create and run Select statements for ror from within cells.
- Organize multiple Select statements within one file.
- Intermingle markdown for documenting your calls.
- Create a new file to store your REST Calls with a
.select
ending.You can also use the command:
Select Book: Create a new blank Select Notebook
. - Add a code cell by hovering over the middle of the Notebook and clicking the
+ Code
To use the Interactive Window interface:
- Run the command:
Select Book: Create an Interactive Window
- Enter your line(s) into the input field at the bottom of the window.
- Click the adjacent button to run them.
- Repeat.
You can also assign the responses from calls to a variable and use the data from that response in future calls. To do this you would just declare a variable with let
and the name of your variable and then a =
like so:
let foo = GET google.com
And then in future cells you can reference foo
in your calls with a $
sign.