REST Client · Example Payload

Rest Client Get Request Example

REST Client VS Code extension example: GET request with Bearer token authentication.

ClientsHTTP ClientIDE ExtensionVS CodeAPI Testing

Rest Client Get Request Example is an example object payload from REST Client, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionfileFormatcontentvariablesenvironmentVariables

Example Payload

rest-client-get-request-example.json Raw ↑
{
  "description": "REST Client VS Code extension example: GET request with Bearer token authentication.",
  "fileFormat": ".http",
  "content": "### Get User by ID\nGET https://api.example.com/v1/users/42 HTTP/1.1\nAccept: application/json\nAuthorization: Bearer {{access_token}}\n\n### Get User List with Pagination\nGET https://api.example.com/v1/users?page=1&limit=20 HTTP/1.1\nAccept: application/json\nAuthorization: Bearer {{access_token}}",
  "variables": {
    "access_token": "eyJhbGciOiJSUzI1NiJ9..."
  },
  "environmentVariables": {
    "$shared": {
      "base_url": "https://api.example.com"
    },
    "development": {
      "base_url": "http://localhost:3000",
      "access_token": "dev-token-123"
    },
    "production": {
      "base_url": "https://api.example.com",
      "access_token": "prod-token-456"
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/rest-client-get-request-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.