Let's say that you want to sniff the third-party SDK that you use. You can configure it - e.g. by setting it's base URL. This repository shows you how to achieve this goal without certificate manipulation.
- Start
ngrok
:
ngrok http 8090
- Copy the URL from
ngrok
and set it as the base URL for your SDK. - Start Spring Cloud Gateway:
./gradlew :bootRun
- Inspect incoming requests in the
ngrok
dashboard - http://127.0.0.1:4040/