1.0.3 • Published 7 years ago

@wize/rest-source v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

##REST SOURCE @wize/rest-source

##Description

Create source files for rest objects

##Usage

###Installation

npm install --save @wize/rest-source

###Initialize

import {generateRestSource} from '@wize/rest-source'
.
.
.
/*
data: This is the only parameter which have to pass generateRestSource function.
data:{
    url:"",
    method: "",
    name:"",
    model:"",
    options:{
        params:{},
        headers:{}
    }
}
*/
generateRestSource(data);

##Test

npm run test

##License MIT License