Closed dailytabs closed 1 year ago
I came here to bring up this same thing, but as I'm just learning, I'm unsure how quickly it needs to be changed.
Regardless, thanks @dailytabs and @gregturn, @Buzzardo and others for your hard work!
https://gturnquist-quoters.cfapps.io/api/random returns 404, even in a browser.
https://gturnquist-quoters.cfapps.io/api/random returns 404, even in a browser.
Check out #47 . @ayan-b posted a temporary workaround.
I have heard in a youtube video, that yes it is going to be deprecated.
I was worried too but apparently the wording changed at some point. Does it mean that code that uses it is fine but it is not recommended for new code? Or is it actually just a matter of your requirement and taste?
NOTE: As of 5.0 this class is in maintenance mode, with only minor requests for changes and bugs to be accepted going forward. Please, consider using the org.springframework.web.reactive.client.WebClient which has a more modern API and supports sync, async, and streaming scenarios.
I noted the same as @dedeibel. So I'm curious to know what happens with RestTemplate
in the future. To assess whether a migration to WebClient is (already) necessary or not.
Can anyone give us more information on this?
As folks have noticed, the Spring Team plans to continue to make RestTemplate available as is (but only as-is - only something like a CVE would make us change it). If you need it, use it, but we do recommend WebClient as the modern replacement.
According to https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html:
Anyone care to rewrite this guide for WebClient?