I already have a collection for Postman you can find here.
I had a few requests for a Insomnia collection as well, so I created one. With this you have all Dynatrace API Endpoints in Insomnia and can switch easily between different dynatrace environments, clusters or tenants via Insomnia Environments.
I have put the files on github, maybe someone will find it useful.
Setup is very quick, then you can just select the request and environment against which to execute it.
Here is a short guide:
Import (Application -> Preferences -> Data -> Impot Data) .json file for the APIs.
A collection Dynatrace APIs will be created with subfolders for each API:
For each of your dynatrace environments you want to use, add a insomnia environment environment dropdown -> Manage Environments:
You can adapt the Example Environment or create new ones based on it, you need to adjust the following:
Now you can open any request and easily execute it against different dynatrace environments by selecting the environment on the top left.
You can find the JSON under releases on github: https://github.com/pahofmann/dynatrace-insomnia-collection/releases/tag/1.248