Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 751 Bytes

File metadata and controls

33 lines (25 loc) · 751 Bytes

Using REST client with VSCode

Admin routes

  1. Install REST client for VSCode
  2. Use admin_auth.rest to get your JWT
  3. Add the following to your VSCode config, replacing TOKEN:
"rest-client.environmentVariables": {
        "$shared": {
            "rv_backend_admin_token": "TOKEN"
        }
    }
  1. You can now use REST client to make requests to the management 'back end.

Normal routes

  1. Install REST client for VSCode
  2. Use user_auth.rest to get your JWT
  3. Add the following to your VSCode config, replacing TOKEN:
"rest-client.environmentVariables": {
        "$shared": {
            "rv_backend_user_token": "TOKEN"
        }
    }
  1. You can now use REST client to make requests to the back end.