Skip to content
C

Java Interview Questions

REST API Interview Questions

REST API fundamentals for Java backends — resources, HTTP verbs, and stateless design.

Question 1: What is REST API?

Ans

A REST-style API exposes resources through HTTP and commonly uses methods such as GET, POST, PUT, PATCH, and DELETE.

It is widely used for communication between web/mobile clients and backend services.

Example

text
GET /api/students/101 POST /api/students

Important Point

REST is an architectural style, not simply a synonym for "JSON API."

Continue Your Preparation