API
Working with APIs in an Archibald project:
- Create an API — set up an API instance with
createApi. - Define an entity — declare requests with
createRequest. - Schemas — validating and typing API responses.
- Middleware — hook into requests with
before,success,error,unauthorized, andaftermiddlewares. - CSRF — cross-site request forgery protection.
- Timeouts and retries — configuring request resilience.