Get startedGet started for free

Building a REST API in Python

The restaurant_menu_items trigger you created in the previous exercise returns Azure's default placeholder message. DataCamp Diner now needs the trigger to return real menu data so their mobile app can render it.

You'll turn the restaurant_menu_items function you created in the previous exercise into a simple API endpoint that returns a static JSON list of menu options. In this exercise, you’ll edit the function's Python code in the portal, understand the key components of an Azure Function in Python, and test the endpoint.

This exercise is part of the course

Azure API Management

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise