Introduction Let's face it; testing is tedious. But ask passengers of a Boeing 737 class airline if software testing is tedious (Boeing 737 MAX groundings). Or ask a banker who lost millions due to a security breach of an untested API. Faulty software can cause enormous costs to organizations, individuals, and even lead to loss of life. APIs are …
Expose Your Application With a REST API
Introduction This tutorial is a concise introduction to exposing an application’s API using REST. It is programming language agnostic and focuses on the broad steps taken to expose an internal application using a REST API. Instead of focusing on coding an API, we outline the broad steps taken to expose an existing application as a RESTful API and …
How to use Google Translate API in Java
Introduction In this tutorial, we use the Google Translate API (version two) on RapidAPI using a Java command-line client. We program the client as a Spring Boot application and use three different Java REST libraries - the Eclipse Jersey implementation of the Java API for RESTful Web Services (JAX-RS), the Unirest-Java library, and the OkHttp …
How to Build a Java RESTful API with Spring Boot
In this tutorial, we explore how to design and implement a RESTful API using Java. After finishing, you should better understand the following topics: Restful API Design, implementing a REST API using Java, documenting that REST API using Swagger, and publishing your API on RapidAPI. Understanding this tutorial requires at least a …
How To Use an API with Spring RestTemplate
Introduction In this tutorial, we connect to three different RapidAPI application programming interfaces (APIs) using Spring Boot. First, we explore using HTTP GET to obtain COVID-19 totals from the COVID-19 data API on RapidAPI. Second, we explore using HTTP POST to upload an image and generate a meme using the Meme Generator API on RapidAPI. And …
Top 10 Best Java REST and Microservice Frameworks (2021)
There is no best Java Rest framework. There is also no best Java microservice framework. Different frameworks serve different needs. For example, you might modify an existing application to expose the application’s API as Rest endpoints. Or, you might modify that application to consume somebody else’s REST endpoints. You might develop a new …
How To Use the Twitter API with Java
Introduction The PeerReach API available on RapidAPI provides insight into a Twitter user's profile information. PeerReach provides detailed context information about a user, including the user's peer groups, followers, and subjects interesting to the user. In this tutorial, we access the PeerReach Twitter API using the UniRest and OKHttp Java …