REST URL and endpoints
To use the REST APIs, make sure you can access the Insight server by entering the generic REST URL in the browser address field.
You can issue REST requests by using two possible endpoints: either http://hostname:9080,
or https://hostname:9443, where
9080 is the http port and 9443 is the https port that is defined in
the httpEndpoint element of the server.xml file.
The following examples use http and https and the REST URL to get
a list of entities:
http://localhost:9080/ibm/ia/rest/solutions/solution_name/entity-types/entity_type/entities
https://localhost:9443/ibm/ia/rest/solutions/solution_name/entity-types/entity_type/entities
where localhost is
the Liberty server location, 9080, or 9443 is
the port where the web application is running, ibm/ia/rest is
the location of the web application, and solutions/solution_name is
the scope of the request, for example, solutions/BankingSolution.