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.
Questo esercizio fa parte del corso
Azure API Management
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio