@universityofwarwick/serverpipe
v1.2.1
Published
Authenticated fetch wrapper
Downloads
11
Keywords
Readme
Server Pipe
This is a basic wrapper for fetch()
that we use to make authenticated requests back to the application server.
Browser support
IE11 will require the following polyfill to enable NodeList.prototype.forEach
, Promise
, fetch
and URL
to work:
import 'core-js/modules/web.dom-collections.for-each';
import 'core-js/features/promise';
import 'whatwg-fetch'
You will need:
npm i --save [email protected]
npm i --save [email protected]
npm i --save [email protected]