Java Interview Series: REST API

Basic questions and concepts to prepare on RESTful web services

Midi
5 min readDec 7, 2021

1. What are web services?

A web service is a collection of open protocols and standards used for exchanging data between applications or systems.

Software applications written in various programming languages and running on various platforms can use web services to exchange data over computer networks like the Internet. This is possible due to the use of open standards.

How a web server works

2. What does REST stand for?

Representational State Transfer

3. What is the REST architecture?

REST is web standards based architecture and uses HTTP Protocol. It revolves around resources where every component is a resource and a resource is accessed by a common interface using HTTP standard methods.

In REST architecture, a REST server provides access to resources and a REST client accesses and modifies the resources.

--

--