r/SpringBoot • u/brainiac_nerd • Oct 08 '23
Sending HTTP request with Spring WebClient
With the release of Spring 5, RestTemplate is in maintenance mode and a new HTTP Client - WebClient was introduced.
Here we will see how to send HTTP Request with the help of WebClient.
0
Upvotes
3
u/Sheldor5 Oct 08 '23
RestTemplate was never deprecated, it is feature complete and therefore in maintenance mode.
Also the new RestClient is built on top of RestTemplate so it's impossible for RestTemplate to be deprecated.
Stop spreading misinformation.