mkm-service-forms
v3.0.2
Published
Wrapper for forms API's
Downloads
16
Readme
Introduction
Service to support retrieving and creating file resources
Getting Started
Install via npm
npm install mkm-service-resource
Build and Test
Run build
npm run build
Run tests
npm test
Usage
Example usage:
import { ResourceService } from 'mkm-service-resource';
const resourceServiceConfig = {
apiUrl: 'http://localhost:59299/api/',
authToken: 'dHSD6bsdds....',
roleToken: '45HS5645bd....'
};
const resourceService = new ResourceService(resourceServiceConfig);
Methods
- createResource(resource)
- createUrlResource(resource)
- getResource(id)
- getUrlResource(id)