Tag: httpclient
-
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…
-
HTTP Client – Java 11 – Making HTTP requests in Java is so easy now
Until Java 11 , making HTTP requests was not intuitive . You had to use the non friendly URLConnection class. With Java 11 , it looks easier and cool. To make any HTTP request ,you need the following: A HTTP Request A HTTP response A HTTP client to send the request and get the response…