REST URL 및 엔드포인트

REST API를 사용하려면 브라우저 주소 필드에 일반 REST URL을 입력하여 Insight 서버에 액세스할 수 있는지 확인하십시오.

두 개의 가능한 엔드포인트 http://hostname:9080 또는 https://hostname:9443을 사용하여 REST 요청을 실행할 수 있습니다. 여기서 9080은 http 포트이고, 9443은 server.xml 파일의 httpEndpoint 요소에 정의되어 있는 https 포트입니다. 다음의 예는 http 및 https 및 REST URL을 사용하여 엔티티의 목록을 가져옵니다.
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
여기서 localhost는 Liberty 서버 위치이고, 9080 또는 9443은 웹 애플리케이션이 실행 중인 포트이며, ibm/ia/rest는 웹 애플리케이션의 위치이고, solutions/solution_name은 요청의 범위입니다(예: solutions/BankingSolution).