'Is there a way to enable traffic logs and unhandled requests logging on Mockintosh startup
Mockintosh allows to switch on Traffic Logs and Unhandled Requests logging in UI or via rest API.
I want to have these options enabled already when starting as part of docker-compose config.
E.g to set them via environment variables.
Is that possible?
Solution 1:[1]
From the Mockintosh management docs, you can use curl to enable it.
curl -X POST -F 'enable=true' /traffic-log
Just add an additional command to your .yml and it should work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
