Hey there! In this tutorial, I'll demo how to set up a Spring Boot application that uses a proxy connection to mitmproxy. This allows intercepting and inspecting HTTP requests. The approach works with RestTemplate and WebClient.
Check out mitmproxy at https://mitmproxy.org/ and the Cat Facts API at https://alexwohlbruck.github.io/cat-f...
🍃 Grab the code
https://axgr.dev/posts/spring-http-in...
🙌 Get in Touch
Join my newsletter and say hi at https://axgr.dev/newsletter/?utm_camp...
🍿 Subscribe if you want to see more Spring Boot + Kotlin tutorials!