HTTP requests
Share configuration, send data, and handle results and failures on native Fetch.
Learn more
Shared configuration and explicit results, built on native Fetch.

const user = await client.get<User>(
'/users/1',
{},
{
resultExtractor: ResultExtractors.Json,
},
);client is a configured Fetcher instance; import ResultExtractors from the core package. Run your first request for the complete setup, local server, and failure branch.