Skip Navigation

Enable cross-origin resource sharing support to
BEMS-Docs

You must set the AllowedCorsOrigins parameter in
BEMS
to allow cross-origin resource sharing (CORS) for Docs Self-service API calls. 
  1. Sign in to the computer that is running the
    BEMS-Docs
    service.
  2. In a browser, open the
    BEMS
    Karaf Console Configuration web site. Type
    https://localhost:8443/system/console/configMgr
    and log in as an administrator with the appropriate
    Microsoft Active Directory
    credentials.
  3. On the menu, click
    Main > Gogo
    .
  4. In the command, type the following to add the CORS origin to the list of origins that can access the
    BEMS-Docs
    service:
    docs:config AllowedCorsOrigins  “https://
    domain1
    .com:8080,https://
    domain2
    .com:8089"
    . Separate the CORS URLs with a comma and no space.
  5. Close the browser.