Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Track API calls from Streamlit app in browser developer tools

Is there a way to track API calls made from a Streamlit app in the Network tab of the browser developer tools?

I made a Streamlit app that retrieves data through API calls to a server, but I can't find those calls in the developer tools. This will help me to debug and optimize the app more quickly.

like image 812
mattiatantardini Avatar asked Jun 08 '26 01:06

mattiatantardini


1 Answers

One soultion to this would be to use Postman with the Postman interceptor.

The Chrome extension intercepts all web traffic and sends it to the Postman app where you can view it.

Here's a guide on how to set it up.


Another solution would be to use the Postman proxy to intercept and log all web traffic. Personally I couldn't get this to work on my computer so I used the solution above.

like image 61
ShadowCrafter_01 Avatar answered Jun 10 '26 14:06

ShadowCrafter_01