When I enable http trace in SpringBoot application (https://stackoverflow.com/a/59115579/6700081) then using the /httptrace
endpoint I am able to view all the requests (only headers. not request body) that hit the application.
Is it possible to also view all the requests sent out from the application to other applications like Rest services, webservices, etc in /httptrace endpoint?
I want to know what are all the external services that my application is connecting to, when I send a particular request to the application
if you are using
RestTemplate
for your Rest call, then you can add anClientHttpRequestInterceptor
as suggested by gtiwari333.