What is the purpose of a REST API in web development?

What is the purpose of a REST API in web development?

a) To style the user interface
b) To handle file uploads
c) To provide a standardized way to communicate between the front-end and back-end
d) To store web pages

Answer:

c) To provide a standardized way to communicate between the front-end and back-end

Explanation:

A REST API provides an interface for front-end applications to interact with the back-end using HTTP methods like GET, POST, PUT, and DELETE.

Reference:

Full Stack Web Development Quiz – MCQ Questions and Answers

Scroll to Top