Tag: springwebclient
-
Different ways to call REST APIs in Spring Boot without additional libraries
In today’s world most modern web apps talk to each other through HTTP APIs. REST API is a popular standard for these HTTP APIs. So calling a REST API from your backend app is a critical functionality. Spring Boot provides multiple abstractions to do this in a simple way. Here are four different ways: Using…
-
How to consume a large response using Spring WebClient?
Spring WebClient is a new library provided by Spring to call REST services. It can be used to call rest services in an asynchronous way. Spring team is planning to retire RestTemplate and so it is better to start using Spring WebClients in your projects even for synchronous calls. And if you do use Spring…