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
- Host: GitHub
- URL: https://github.com/wwsun/request
- Owner: wwsun
- Created: 2022-12-01T02:29:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T09:23:12.000Z (over 3 years ago)
- Last Synced: 2025-09-21T08:19:57.158Z (6 months ago)
- Topics: ajax, axios
- Language: TypeScript
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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',
});
```