In this post, I am making a service of GET request and using that service in a servlet to show the data. API URL = https://thesimpsonsquoteapi.glitch.me/quotes We will hit this URL to get our data inside a service and using Apache Fluent and converting into formatted JSON using Jackson. Service import com.fasterxml.jackson.databind.ObjectMapper; import org.osgi.service.component.annotations.Component; import org.apache.http.client.fluent.Request; […]
Read More ›
Recent Comments