0.0.2 • Published 6 years ago
restfulapi-fetch v0.0.2
#restfulapi-fetch
this is an simple restful api fetch function to help people to use
how to install
npm install restfulapi-fetch
how to use
import api from 'restful-api'
api.get(url).then(console.log)
api.post(url).then(console.log)
for detail please check the test file