Installation
- Full Client
- REST Only
Browser Usage
In the browser, use the native fetch API:Node.js Usage
- Fetch (Recommended)
- Axios
- Superagent
Using the modern fetch API with node-fetch:
Service Methods
All standard Feathers service methods are available:Custom Headers
You can pass custom headers with any service call:Connection Options
You can pass connection-specific options usingparams.connection:
- Fetch
- Axios
- Superagent
Custom Methods
REST client supports custom service methods:X-Service-Method header indicating the method name.
Direct Service Usage
You can create service instances without configuring the app:Error Handling
REST errors are automatically converted to Feathers errors:Base URL and Service Paths
The REST client constructs URLs based on the base URL and service name:TypeScript Support
The REST client has full TypeScript support:Configuration Options
You can pass options when creating the REST client:Next Steps
Socket.io Client
Learn about real-time connections with WebSocket support
Authentication
Add authentication to your client application