Extraction Using a REST API
Learn how clients communicate with servers using REST API.
We'll cover the following
What is API?
Like two humans need a similar interface to interact with each other, so do two pieces of software.
An API (application programming interface) is a common interface that allows two software to communicate. It’s a set of rules and standards that lets web-based software and applications transfer data to each other in a format both can understand. That format is usually JSON.
JSON (JavaScript Object Notation) is a simple key-value format used to represent information. There are many formats that we can use to convey information. Some common ones are HTML, XML, YAML, and more.
JSON is an excellent language for interaction between client and server because it’s compressed, easily readable, and can be understood by most modern systems today.
REST API
REST API (REpresentational State Transfer API) is a specific type of API that lets clients (frontend) send HTTP methods such as GET, PUT, POST, and DELETE to a server (backend) and perform CRUD (create, read, update, delete) operations.
Get hands-on with 1200+ tech skills courses.