WebLicht as a Service (WaaS) is a REST service that executes WebLicht chains. This allows you to run WebLicht chains from your UNIX shell, scripts, or programs.
There are several advantages of using WaaS rather than making direct requests to WebLicht web services. WaaS uses the most up-to-date libraries and web service metadata, and requires no knowledge of individual web services, such as dependencies, parameters or URLs. Unlike the WebLicht web application, WaaS does not require a browser, which avoids problbs such as session timeout and file size limits.
To use Waas, simply send a document and annotation chain description to WaaS. WaaS will then execute that chain and return the annotated document to the application.
curl -X POST -F firstname.lastname@example.org -F content=@inputFile -F apikey=apiKey URL > result