APIs can run over HTTP and yet not be RESTful. This video covers the architectural constraints and properties that make an API RESTful.
- [Saleh] In the previous video, we learned about…how RESTful A-P-Is use resources.…In this video, we are going to take a step back and look at…REST is, then we will learn about the six properties…or constraints that make A-P-Is restful.…It's properties help us make our A-P-Is scalable,…that is they can easily be expanded to handle more users.…Now that we know what A-P-Is are,…we are going to take a look at what REST is.…REST, which stands for Representational State Transfer,…is an architecture for designing network-based applications.…
In other words, REST is a way of structuring a system…so that it's easily scalable.…You will be able to see it better once…we look at the architectural constraints.…Many people have the misconception that REST…is a protocol, framework or standard.…REST is not a protocol, H-T-T-P is a protocol that REST uses…REST is not a framework, there is no such thing as an…REST S-D-K that we can download…and plug into our application.…Finally, REST is not a standard, every A-P-I can implement…
This Node.js training course gives you an overview of a RESTful API and the logical steps of building one. It explores three different APIs, focusing on their similarities and differences to effectively implement one. Author Saleh Hamadeh starts off by defining APIs, showing how they can be built on top of HTTP and listing the properties that make an API RESTful. Then learn how to develop Twitter Notes, a sample web application that lets its users leave notes for their Twitter friends. You'll use Twitter's API to implement a login flow and then design a web API. In addition, you'll get a closer look at two other real-world APIs—Facebook API and GitHub API. Finally, learn some best practices to keep APIs secure, maintainable, and efficient.
- Identifying REST resources
- Setting up the development environment
- Consuming a RESTful API
- Creating an OAuth login request
- Getting an access token
- Saving data in MongoDB
- Building a RESTful API
- Looking at APIs in the real world
- Best practices for building RESTful APIs