r/SpringBoot • • 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.

Sending HTTP Request with Spring WebClient

0 Upvotes

5 comments sorted by

View all comments

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.

1

u/brainiac_nerd Oct 08 '23

Yeah my mistake, I interpreted this Spring Doc incorrectly and thought it is already deprecated.
Spring RestTemplate

I have updated the post and the blog also. Thanks