Running a Sample RequestΒΆ
Once you have the Knomi Document Analyzer REST server running, you can run one of the sample requests using the curl utility:
curl -H "Content-Type: application/json" -X POST -d @autocapture_document_sample.json http://localhost:8088/documentAnalyzer/autocaptureDocument
curl -H "Content-Type: application/json" -X POST -d @autocapture_document_encrypted_sample.json http://localhost:8088/documentAnalyzer/autocaptureDocumentEncrypted
curl -H "Content-Type: application/json" -X POST -d @get_capture_region_sample.json http://localhost:8088/documentAnalyzer/getCaptureRegion