An open API service indexing awesome lists of open source software.

https://github.com/wwsun/request

easy request based on axios
https://github.com/wwsun/request

ajax axios

Last synced: about 1 month ago
JSON representation

easy request based on axios

Awesome Lists containing this project

README

          

# Easy Request

## Usage

```js
import request, { createService, createServices } from 'axios-easy-request';

request.get('/foo');

request.post('/foo', { foo: 'foo' });

const get = createService({
url: '/foo',
});

get({ foo: 'foo' });

const services = createServices({
get: {
url: '/foo',
},
});

services.foo({
foo: 'foo',
});
```