Closed banhao closed 3 months ago
Are you looking for a web interface for ngrok-python
? If so, that doesn't exist in ngrok-python
yet.
So will you add this feature in the future? Thanks!
Hello! There is a Python library for interacting with the server-side API which can be used along side the SDK, which may provide the functionality you are looking for, that can be found here: https://github.com/ngrok/ngrok-api-python
I need Web Interface which is looks like this
Can check the request and response data, header, raw data, etc.
Ah, for analyzing traffic there is a product update coming on the horizon, see the Traffic Inspection section of the docs for information around that.
Ah, for analyzing traffic there is a product update coming on the horizon, see the Traffic Inspection section of the docs for information around that.
yes, but how to enable it by using python import ngrok
? Seems it is not enable by default when using listener = ngrok.forward(5000, authtoken_from_env=True)
Aye, the local web interface is only for the Agent. But going forward both the Agent and the SDK's will populate data in the cloud based traffic inspector in the ngrok dashboard.
I'm going to mark this as a "not planned". We won't be making any direct changes to the python SDK, but the recommended solution is to use our traffic inspector on the ngrok dashboard.
Before I used pyngrok and ngrok Agent API 'http://127.0.0.1:4040/api/tunnels' was enabled by default. So when I switch to use
ngrok
, I don't know how to enable the ngrok Agent API 'http://127.0.0.1:4040/api/tunnels' by usingngrok