Back to Browse

HTTP vs REST | Codecabulary | with Analogy

58 views
Apr 12, 2024
54:16

Let's understand the fine line between HTTP vs REST. What is HTTP? HTTP (Hypertext Transfer Protocol) is the foundation of communication on the World Wide Web. It establishes rules for how data travels between browsers and web servers. Imagine HTTP like a bank withdrawal form that you use to withdraw (request) cash (response) from the banker (server). What is REST? REST (Representational State Transfer) defines an architectural style for web services. It ensures communication follows standardized rules, like using HTTP methods for actions (GET, POST, PUT, DELETE). In this tutorial, I built my own basic HTTP server in NodeJS without using any inbuilt framework like ExpressJS. 00:00 Intro 02:33 HTTP Definition 04:16 Bank Analogy - HTTP 08:07 Bank Analogy - HTTP Methods 10:22 Bank Analogy - REST 14:18 REST Definition 15:10 HTTP vs REST 18:21 Summary 18:51 Coding Intro 19:04 Build an HTTP server 26:02 Build a POST API 34:40 Building GET, PUT, DELETE APIs 39:02 Test the REST APIs 47:29 Conclusion 49:42 HTTP representation 53:06 Outro **************************** For more videos, do subscribe to this YouTube channel and share with your friends. You may comment your feedback and questions and I would be happy to respond you. Reach me at: [email protected] https://www.linkedin.com/in/ramalingam-srinivasan-3964707/ https://twitter.com/codeandgyan Cheers! Ramalingam .. .. .. .. .. .. .. .. .. .. .. .. .. [Tags] Software Engineering, Software Development for beginners, System Design for beginners, Software Engineering Tutorial for beginners, Coding Concepts for beginners, Coding concepts with examples, Coding concepts with real world examples, HTTP and REST, HTTP and REST difference.

Download

1 formats

Video Formats

360pmp4101.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

HTTP vs REST | Codecabulary | with Analogy | NatokHD