File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
example/src/main/java/com/regula/documentreader/webclient/example Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 2929
3030public class Main {
3131 public static final String API_BASE_PATH = "API_BASE_PATH" ;
32- public static final String TEST_LICENSE = "TEST_LICENSE" ;
3332
3433 public static void main (String [] args ) throws IOException , ApiException {
3534
3635 var apiBaseUrl = System .getenv (API_BASE_PATH );
3736 if (apiBaseUrl == null ) {
3837 apiBaseUrl = "https://api.regulaforensics.com" ;
3938 }
40- var licenseFromEnv = System .getenv (TEST_LICENSE ); // optional, used here only for smoke test purposes
41- var licenseFromFile = readFile ("regula.license" );
42-
4339
4440 byte [] whitePage0 = readFile ("WHITE.jpg" );
4541
@@ -72,10 +68,6 @@ public static void main(String[] args) throws IOException, ApiException {
7268
7369 var api = new DocumentReaderApi (apiClient );
7470
75- // Uncomment one of the lines below if you want to transfer the license with each request
76- // if (licenseFromEnv != null) api.setLicense(licenseFromEnv);
77- // if (licenseFromFile != null) api.setLicense(licenseFromFile);
78-
7971 var info = api .health ();
8072 System .out .println ();
8173 System .out .format (
You can’t perform that action at this time.
0 commit comments