REST vs JSON-RPC - Chapter 3 | MCP Tutorial Series
Ever wondered about the difference between REST APIs and JSON-RPC? Let me explain it using pizza! ๐ In this video, we break down two popular ways computers communicate: REST and JSON-RPC. Using a simple pizza restaurant analogy, you'll understand when to use each approach and why both are valuable in modern software development. ๐ฏ What You'll Learn: - How REST APIs work (resource-based) - How JSON-RPC works (action-based) - Real code examples - When to use REST vs JSON-RPC - Why companies like Netflix and Google use BOTH - How this relates to the Model Context Protocol (MCP) ๐ Key Concepts Covered: - REST (Representational State Transfer) - JSON-RPC (Remote Procedure Call) - API Design Patterns - HTTP Methods (GET, POST, PUT, DELETE) - Resource vs Action-Based Architecture - Public APIs vs Internal Microservices - Model Context Protocol (MCP) ๐ง Perfect For: - Developers learning API design - Software engineers choosing between patterns - Anyone building MCP servers - Backend developers - Full-stack developers ๐ก Quick Takeaway: REST = Organize by RESOURCES (nouns) โ Best for public APIs JSON-RPC = Organize by ACTIONS (verbs) โ Best for internal services ๐ This is part of our ongoing MCP (Model Context Protocol) series. Next video: Building Your First MCP Server! ๐บ MCP Series Playlist: --- ๐ Like this video if you found it helpful! ๐ Subscribe for more API tutorials and MCP content ๐ฌ Comment below: Do you prefer REST or JSON-RPC? Why? #REST #JSONRPC #API #WebDevelopment #Programming #MCP #ModelContextProtocol #CodingTutorial #SoftwareEngineering #APIDesign
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.