From the course: Flutter Essential Training: Build for Multiple Platforms

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Introduction to APIs and exploring Postman.

Introduction to APIs and exploring Postman. - Flutter Tutorial

From the course: Flutter Essential Training: Build for Multiple Platforms

Introduction to APIs and exploring Postman.

- [Instructor] When we go to a restaurant and we call for the waiter, the first thing we may ask is, "Hi, can I get the menu?" The waiter says, "Sure, here is your menu." "So what is the chef's special for today?" Waiter: "It is the meatballs spaghetti, ma'am." "Does the preparation for spaghetti with meatballs use garlic and onions?" "Please wait, ma'am, let me go to the kitchen and get that information for you." The waiter takes a few seconds to get that information you requested and gives you back the response. "Yes, ma'am, garlic and onions are used in the preparation." The interaction you're having with the waiter is the exact interaction a client app, or in our case our mobile app or web app, will have with an API. The kitchen in this case is the backend that has the database of information. So if I go and ask, "Do you have sausages on the menu?" The waiter goes to the kitchen and asks the chef the same question.…

Contents