@feathersjs/rest-client
REST client services for different Ajax libraries
@feathersjs/rest-client
supports REST server connectivity using jQuery, request, Superagent, Axios, Fetch or Angular HTTP as the AJAX library.
Installation
npm install @feathersjs/rest-client --save
Quick example
const feathers = require('@feathersjs/feathers');
const rest = require('@feathersjs/rest-client');
const app = feathers();
const restClient = rest();
const restClient = rest('http://feathers-api.com')
app.configure(restClient.fetch(window.fetch));
const messages = app.service('messages');
Documentation
Please refer to the @feathersjs/rest-client documentation for more details.
License
Copyright (c) 2018
Licensed under the MIT license.