600.0.0 • Published 5 years ago

@ihadeed/rest-client v600.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@feathersjs/rest-client

Build Status Dependency Status Download Status

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();

// Connect to the same as the browser URL (only in the browser)
const restClient = rest();

// Connect to a different URL
const restClient = rest('http://feathers-api.com')

// Configure an AJAX library (see below) with that client 
app.configure(restClient.fetch(window.fetch));

// Connect to the `http://feathers-api.com/messages` service
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.

600.0.0

5 years ago

500.0.0

5 years ago

100.5.0

5 years ago

100.4.0

5 years ago

100.3.0

5 years ago

100.2.0

5 years ago

100.1.0

5 years ago

100.0.0

5 years ago

6.0.0

5 years ago

5.7.0

5 years ago

5.6.0

5 years ago

5.5.0

5 years ago

5.4.0

5 years ago

5.3.0

5 years ago

5.2.1

5 years ago

5.0.1

5 years ago