@feizheng/next-abstract-request
v1.1.10
Published
Standard abstract request.
Downloads
27
Maintainers
Readme
next-abstract-request
Standard abstract request.
installation
npm install -S @feizheng/next-abstract-request
apis
| api | params | description | | ------- | ------------------------------------ | -------------- | | request | (inUrl, inMethod, inData, inOptions) | The entry api | | get | (inUrl, inData, inOptions) | The get api | | post | (inUrl, inData, inOptions) | The post api | | delete | (inUrl, inData, inOptions) | The delete api | | put | (inUrl, inData, inOptions) | The put api | | patch | (inUrl, inData, inOptions) | The patch api | | head | (inUrl, inData, inOptions) | The head api |
usage
import NxAbstractRequest from '@feizheng/next-abstract-request';
license
Code released under the MIT license.