postfetch
v0.0.4
Published
It's just so Fetch™
Downloads
2
Maintainers
Readme
postFetch
a microlibrary for fetching stuff
Will explain more later. Maybe.
Importing
import postFetch from 'postFetch';
GET requests
postFetch.getData("url goes here", [{key/value pairs of parameters of get request}]);
POST requests
postFetch.postData("url goes here", {object you want to pass through});
PUT requests
postFetch.putData("url goes here", {object you want to pass through});
DELETE requests
postFetch.deleteData("url goes here", {object you want to pass through});