This module is part of the Apache Sling project.
Node JS Client for the Sling POST Servlet.
Install with:
npm install @apachesling/slingpost
and then import into your script:
const SlingPost = require("@apachesling/slingpost");
Construct a new instance with:
const SlingPost = require("@apachesling/slingpost"); const sp = new SlingPost();
The constructor takes an optional configuration object with the following options:
See the JSDocs for full usage information.