TanStack Logo

Star

Get Data RPC Method

Fetches data by key (mock implementation ready for KV, D1, R2, etc.)

Result

{
  "key": "myKey",
  "found": false
}

Usage Examples

?key=user123 → Fetch data for key "user123"

?key=config → Fetch data for key "config"

💡 This is a mock implementation. Connect to Cloudflare KV, D1, or R2 by adding bindings to wrangler.jsonc

← Back to RPC Methods