RESTful and HTTP APIs in Pyramid Transcripts
Chapter: Conclusion
Lecture: Lightning review: What is REST?

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Now, before we put the wraps on this class and you go off to create your own apis,
0:04 let's do a really quick review of each chapter;
0:08 so we started out the course with asking the question what is rest
0:12 and we said there's a set of principles that these web services can follow
0:16 and the more of them you follow, the more restful you are,
0:19 so one is to use http methods explicitly,
0:23 endpoints are urls not verbs typically but nouns,
0:27 you know, api/autos not api/list_autos things like that;
0:31 it's casheable the get ones at least,
0:34 it's layered system, so you don't see beyond what you're talking to
0:37 even if that calls, other services,
0:39 stateless, at first that wasn't true,
0:42 but once we switched to the database totally stateless;
0:45 it supports content negotiation, so that's using the except and content types in http
0:51 to say hey if you could give me png that would be better than xml, things like that,
0:56 hyper media as the engine of application state or HATEOAS,
1:00 this is the one that we kind of pointed on and said
1:02 you know, a lot of services really don't do this,
1:04 this is more of a pure web thing, and so this is a spectrum,
1:08 and I think we've made it more or less to level
1:11 six not level seven, and that's fine with me.