nextcloud_fetch
Thin wrapper around modern browser's fetch API for Nextcloud.
Usage
Install the package via npm
npm install --save nextcloud_fetch
Send (JSON) requests to your Nextcloud server
import { nc_fetch, nc_fetch_json } from 'nextcloud_fetch'
let res = nc_fetch('https://…')
let json_res = nc_fetch_json('https://…')