A collection of REST API request templates for the VS Code REST Client extension.
| Service | Requests | Description |
|---|---|---|
| Connectwise Manage | 43 | IT service management - companies, tickets, projects, sales |
| Microsoft Graph | 26 | Microsoft 365 - users, groups, tenant administration |
| Bitwarden | 4 | Password management - groups, members, organization |
| Proofpoint | 3 | Email security - user management |
| Cloudflare | 1 | CDN analytics via GraphQL |
| Sherweb | 1 | Cloud service provider API |
- Install the REST Client extension in VS Code
- Create a
.vscode/settings.jsonfile in your workspace with your credentials:
Note:: Depending on which services you plan to use, you may not need to include all environment variables shown below. Some .http files may require only a subset of these variables.
{
"rest-client.environmentVariables": {
"connectwise": {
"baseUrl": "https://YOUR-COMPANY.connectwise.com/v4_6_release/apis/3.0",
"publicKey": "YOUR_PUBLIC_KEY",
"privateKey": "YOUR_PRIVATE_KEY",
"companyid": "YOUR_COMPANY_ID",
"clientid": "YOUR_CLIENT_ID"
},
"msgraph": {
"tenantId": "YOUR_TENANT_ID",
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET"
}
}
}- Open any
.httpfile and click "Send Request" above the request
Each .http file contains one or more API requests. Variables use the {{variableName}} syntax and are loaded from your environment settings.
See the README files in each service folder for specific setup instructions.
MIT