From the course: Cisco DevNet Associate (200-901) Cert Prep 2: Understanding and Using APIs
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Introduction to API constraints
From the course: Cisco DevNet Associate (200-901) Cert Prep 2: Understanding and Using APIs
Introduction to API constraints
- [Instructor] As mentioned before, REST API is an architectural style used in the development of offering web services over HTTP. It is loosely defined and does not enforce any hard rules regarding how it should be implemented at the lower level. It is a high-level design guideline. If you ask me, that is part of the reason why it is so popular because it allows people to get creative. However loose it may be, there's six architectural constraints defined by Roy Fielding. He's the person who coined the term, REST, that makes a web service a true RESTful API. We will discuss each of them in more detail in this section. At a high level they are, uniform interface, client-server decoupling, the API should be stateless, cacheable asset declaration, layered system, and can return code on demand. The first recommended REST API restriction is a uniform interface. What does that mean? In practical terms, it means…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.