tanhakabir / rest-book

REST Book is a Visual Studio Code extension that allows you to perform REST calls in a Notebook interface.
https://marketplace.visualstudio.com/items?itemName=tanhakabir.rest-book
MIT License
249 stars 24 forks source link

use variables in the URL? #135

Open Norfeldt opened 2 years ago

Norfeldt commented 2 years ago

I'm just trying to dip my toes with this exension.

I come from using the REST client extension, like this

@host = http://localhost:3001
# @host = https://test.api.foo.baz
# @host = https://staging.foo.baz
# @host = https://api.foo.baz

### user with password
GET {{host}}/users/emails/some@email

if I which to change the host to be different from localhost, I just uncomment the it.

Is there a easy way to do the same thing with restbook?