Note: Download the latest version of Postman from https://postman.com/downloads/.
Follow the steps below to use the downloaded Postman collection:
- Unzip the downloaded file and import it into your Postman application. The Densify API Collection (12.1.7) collection and Densify environment are loaded into your Postman workspace.
- Modify the variables in the Densify environment to match your Densify and cloud-specific settings and credentials.
- Review the Documentation section of the collection for an overview of the workflow and API requests.
Note: If you already have a previous Densify environment in your Postman application, you can either delete the previous version or rename it. Otherwise, you will have duplicate Densify environments after the new collection is imported.
Use this sample collection to familiarize yourself with Densify API requests.
When using token-based authentication you need to request a token for each session. Subsequent API requests within the session are automatically authenticated with this token. Then in a future session you need to again request and acquire a token.
Postman is only intended to provide the tools for learning and testingDensify's APIs.
Once youare comfortable with how the Densify API works you can start to place the API calls within your code, that can then be used to run a series of API calls. For example you could write a call to get all analysis IDs, then loop through each ID making another API call to get the associated recommendations, thus providing the full list of recommendations for the scope of systems.
If you use Postman v9.x or later you may encounter a "Bad request, invalid accept header" error. This is due to the fact that the DensifyAPI does not currently support the Accept key value "*/" for Headers.
Set the Accept key value to "application/json".