Building a REST API in Python
Imagine you are developing an online ordering system for a restaurant. The mobile app needs a backend service that can provide customers with the current menu whenever they open the app.
To support this, you’ll create a simple API endpoint named restaurantmenuitems that returns a static JSON list of menu options. Later, this API could be expanded to fetch live data from a database or adjust menu items based on availability, but for now, this exercise will get you started with the basics.
Cet exercice fait partie du cours
<cours>Azure API Management</cours>Exercice interactif pratique
Transformez la théorie en action avec l’un de nos exercices interactifs
Commencer l’exercice