README
snapsheet-ajax-utils
Wrapper around fetch to simplify usage
Install
yarn add snapsheet-ajax-utils
Usage
import { postJson } from 'snapsheet-ajax-utils';
postJson(url, body).then(data => doSomething(data));
Wrapper around fetch to simplify usage
<script type="module">
import snapsheetAjaxUtils from 'https://cdn.skypack.dev/snapsheet-ajax-utils';
</script>
Wrapper around fetch to simplify usage
yarn add snapsheet-ajax-utils
import { postJson } from 'snapsheet-ajax-utils';
postJson(url, body).then(data => doSomething(data));