HTTP Client
Low-level HttpClient used under the hood by every v2 resource client. Most consumers don't need to touch it — reach for it only when building a custom client or proxying requests.
See the API Reference for the full type and function surface, regenerated from source on every build.
Quick Start
import { HttpClient } from 'perspectapi-ts-sdk';
const http = new HttpClient({ baseUrl, apiKey });
const res = await http.get('/api/v2/sites');