Which protocol is used in REST?

The primary protocol used in REST (Representational State Transfer) APIs is HTTP (Hypertext Transfer Protocol). RESTful APIs leverage the standard HTTP methods to perform operations on resources identified by URLs. Here's a breakdown of the key HTTP methods commonly used in REST APIs:

Common HTTP Methods in REST

  1. GET: Retrieves data from the server. For example, GET /users retrieves a list of users.
  2. POST: Sends data to the server to create a new resource. For example, POST /users creates a new user.
  3. PUT: Updates an existing resource or creates it if it does not exist. For example, PUT /users/{id} updates the user with the specified ID.
  4. PATCH: Partially updates an existing resource. For example, PATCH /users/{id} may update specific fields of a user.
  5. DELETE: Removes a resource from the server. For example, DELETE /users/{id} deletes the user with the specified ID.

Additional Protocols

While HTTP is the main protocol, REST can also work over other protocols like:

  • HTTPS: For secure communication over HTTP, providing encryption and security.
  • WebSocket: Although not typical for REST, it can be used in some scenarios for real-time communication.

Conclusion

In summary, REST primarily relies on HTTP as its protocol, using various methods to manage data and resources. Its simplicity and effectiveness in leveraging existing web standards make it a popular choice for developing APIs.

For more information on REST and its use of HTTP, you can check out these sources:

TAGS
System Design Interview
CONTRIBUTOR
Arslan Ahmad
Arslan Ahmad
ex-FAANG engineering manager and author or Grokking series.
-

GET YOUR FREE

Coding Questions Catalog

Design Gurus Newsletter - Latest from our Blog
Boost your coding skills with our essential coding questions catalog.
Take a step towards a better tech career now!
Explore Answers
Where do I start a system design interview?
What defines a good ux designer?
What is Tesla looking for in employees?
What is the difference between a use case and a CASE study?
What are functional and non-functional requirements?
Functional and non-functional requirements in context of system design interview.
Case studies of real system design solutions from tech giants
Related Courses
New
Grokking the AI System Design Interview course cover
Grokking the AI System Design Interview
Learn to design AI systems the way interviewers expect: classic ML products, LLM and RAG architectures, and agentic systems, all through the lens of the system design interview.
4.6
(3,192 learners)
Discounted price for Your Region

$123

Grokking the Coding Interview: Patterns for Coding Questions course cover
Grokking the Coding Interview: Patterns for Coding Questions
The 24 essential patterns behind every coding interview question. Available in Java, Python, JavaScript, C++, C#, and Go. The most comprehensive coding interview course with 543 lessons. A smarter alternative to grinding LeetCode.
4.6
Discounted price for Your Region

$197

Grokking Modern AI Fundamentals course cover
Grokking Modern AI Fundamentals
Master the fundamentals of AI today to lead the tech revolution of tomorrow.
4.1
Discounted price for Your Region

$72

Design Gurus logo
One-Stop Portal For Tech Interviews.
Copyright © 2026 Design Gurus, LLC. All rights reserved.