Error: Invalid spaceKey on retrieving a related space config.

Tools for testing the REST API

You can use Postman - REST Client 3.2.8 or higher to test the REST API. Postman is a powerful HTTP client for testing web services and makes it easy to test, develop, and document APIs by allowing users to quickly put together both simple and complex HTTP requests. Postman is available as both a Google Chrome Packaged application and a Google Chrome in-browser application.

All API calls sent using the Postman app are stored in history, allowing them to be easily loaded into the response viewer at a later time. For more information and to download Postman - REST Client, see GetPostman.com.

For a quick overview of introduction to Postman - REST Client, see  Introduction to Postman video.

Note

The video is recorded using the earlier version of BMC Remedy AR System and is valid for BMC Remedy AR System 9.1 and later versions.

Note

You can also test REST services with other tools, such as REST Client, Advanced REST Client, or Hurl.it.

The Java Code Samples referred to the documentation are developed using Apache HttpClient 4.3.3 and Apache Commons-IO 2.4 library.

After you create a self-signed certificate, browsers and other programs issue warnings to users about an insecure certificate each time the user authenticates. You can prevent the certificate warning by adding the self-signed certificate to the Trusted Root Certification Authorities store. For more information, see Importing a certificate into the Trusted Root Certification Authorities store.

Importing a certificate into the Trusted Root Certification Authorities store

The self-signed certificate that is generated is non trusted. The browsers and other programs issue warnings to users about an insecure certificate each time the user authenticates.

The following instructions provide information for importing a certificate into the truststore:

  1. In Google Chrome, go to the following URL:
    https://localhost
  2. In Google Chrome click Customize and control Google Chrome > Settings.
  3. Click the Show advance settings...link.
  4. Click the Manage Certificates field under HTTP/SSL.
  5. Click the Trusted Root Certification Authorities tab.
  6. Select certificate file from the list  and click Import.
  7. Follow the Certificate Import Wizard.
  8. Click Close.
  9. Restart Google Chrome.

Related topics

Was this page helpful? Yes No Submitting... Thank you

Comments