Onboarding - Restful API Flashcards
What is a major benefit for making an API?
You can push your mobile sorting and filtering onto the API instead of through mobile
What is REST? What is API?
REpresentational
State
Transfer
IT’S AN ARCHITECTURAL STYLE
Application, Programming, Interface
Set of routines, protocols, and tools for building applications
What are some key points of REST architecture?
1) You don’t transfer actual objects, just representations of it. EXAMPLE - you transfer JSON data to represent our MONGODB docs
2) RESTful services are for working with a public API over the internet to handle create read update delete operations on data. CONSISTENT interface
3) Implementation are up to the developer
4) Identified by unique endpoints (URLs). They are defined by domain names and URL