Grial datasource connector for wrapping Rest APIs.
- REST_ENDPOINT => the base endpoint to your Rest API
Install it
npm i @grial/connector-rest
Add it to your connectors.js
files
exports.rest = require('@grial/connector-rest')
Create a new resource with the received data
Fetch a single resource or a list of resources (if the ID is not provided).
Create a resource with the specified data
Delete a specific resource