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 3.2.8, see GetPostman.com.
For a quick overview of introduction to Postman - REST Client, see video.
You can also test REST services with other tools, such as REST Client, Advanced REST Client, or Hurl.it.
The Java Code Samples referred in 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
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:
- In Google Chrome, go to the following URL:
- Click the lock icon in the top left of the URL bar.
- Select the Connection tab.
- Select Certificate information.
- In the Certificates window, select the Details tab and then select Copy to File.
- Save the certificate file on your local computer and close the certificate window.
- In the Google Chrome browser, go to the following URL:
chrome://settings/search#ssl and click Manage certificates.
- Open the Trusted Root Certification Authorities tab and click Import.
- Select the file that you saved on your local computer in step 6.
- Select Close.
- Restart Google Chrome.