Search code examples
dartmitmproxy

Intercepting https request from a Dart program


I want to debug a Dart program which makes https request to an API with the http library of Dart. So i want to intercept all the input and output https GET/POST. For that I use a man in the middle proxy. The proxy works and i can see all the http and https traffic of various applications in my laptop. But I can't see the one of my dart program.


Solution

  • you can use flutter DevTools, it has a networking tab that shows all of your app networking activity.