0.0.1 • Published 4 years ago
fetchar v0.0.1
Fetchar
yarn add fetchar
or
npm install fetchar
class getters
- get
- post
- put
- patch
- delete
- head
- options
import Fetchar from 'fetchar';
const rest = new Fetchar({
baseURL: 'http://localhost:3000'
});
rest.get.path.to.my.route({
params: {
abc: 'xyz'
}
}).then(res => console.log(res.data));
0.0.1
4 years ago