Enable Wildcard Path

Top  Previous  Next

SUMMARY

Enabling Wildcard Mapping will forward ALL requests from the Web Server to the Application Server.

 

SCRIPT

/usr/ngasi/apiclient/bin/ncli.sh -user=myuser -password=coolgeek -url=http://localhost:8666 -command=enablewildcard -domain=mydomain.com

 

JAVA API

Properties properties = new Properties();

properties.put("url","http://localhost:8666");

properties.put("user","myuser");

properties.put("password","coolgeek");

properties.put("command","enablewildcard");

properties.put("domain","mydomain.com");

String result = NGAPIClient.exec(properties);