# APIs, requests, and mocks Use this topic to add endpoints, debug Axios responses and interceptors, investigate duplicate requests or cancellation on navigation, or change demo data. Start with the [request contract](../../apps/admin/src/axios/README.md). | Question | Read first | Follow through | | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Business endpoints, paginated data, and request configuration | [Application APIs](../../apps/admin/src/api), [application request instance](../../apps/admin/src/axios/instance.ts), [request configuration](../../apps/admin/src/app-config/request-config.ts) | [Person endpoint caller](../../apps/admin/src/api/demo/mock/person.ts), [integration guide](../../apps/docs/guide/requests.md) | | Axios interceptors, errors, and client isolation | [Shared client](../../packages/http/src/client.ts), [shared types](../../packages/http/src/types.ts) | [Application request interceptor](../../apps/admin/src/axios/axios-interceptor/request/provider.ts), [response interceptor](../../apps/admin/src/axios/axios-interceptor/response/provider.ts) | | Duplicate requests, AbortSignal, and cancellation on navigation | [Shared RequestCanceler](../../packages/http/src/RequestCanceler.ts), [application cancellation provider](../../apps/admin/src/app-components/provider/AppRequestCancelerProvider) | [Layout content slot](../../apps/admin/src/layout/default/ContentWrapper/index.tsx), [TablePro remote requests](table-pro.md) | | HTTP mocks shared by development and the online demo | [Mock handlers](../../apps/admin/src/mocks/handlers.ts), [shared demo data](../../apps/admin/src/demo-data/people.ts) | [Unified business API](../../apps/admin/src/api/admin/index.ts), [mock bootstrap](../../apps/admin/src/mocks/browser.ts) | Application `axios/utils` contains compatibility re-exports. The default request signal is injected only if the caller has not supplied a signal and has not disabled default cancellation. Demo data does not represent production endpoints or authorization. Frontend `VITE_*` configuration must not hold secrets. Targeted verification: `pnpm harness verify api` first runs `api:check` for generated OpenAPI files and the MSW worker, then the [application request](../../__test__/axios/request.spec.ts), [client isolation](../../__test__/workspace/http-client.spec.ts), and [mock](../../__test__/mock/database.spec.ts) regressions. Verify production backend integration, browser downloads, and real end-to-end flows separately when those behaviors are affected. For standard backend integration, start with the [shared contract package](../../packages/api-contracts/README.md), [business schemas](../../packages/api-contracts/src/admin.ts), [demo schemas](../../packages/api-contracts/src/demo.ts), [OpenAPI generation](../../packages/api-contracts/src/openapi.ts), and [integration guide](../../apps/docs/guide/backend.md). Pages call APIs exclusively, including for search options and route-example lists/details. The mock database owns demo writes and permission checks. In production backend mode, a remote-route load failure aborts startup. Legacy application contract paths remain as compatibility re-exports.