Update a web API with GitHub Copilot
In this lab, you will learn how to use GitHub Copilot to update and enhance web APIs. You'll discover how AI-powered suggestions can help you modify existing APIs, add new endpoints, implement business logic, and improve code quality faster than traditional development approaches.
You will learn how to:
- Understand an API
- Extend the Web AI
- Add a new route
- Create a test
- Use an agent to write the documentation
This lab takes approximately 45-60 minutes to complete.
Before you start
To complete the lab, you need:
- A GitHub user account with access to GitHub Copilot.
- Basic understanding of web APIs and HTTP methods.
- Familiarity with at least one programming language.
- A web browser with access to the internet.
Complete the exercise on Microsoft Learn
In this exercise, you'll learn to update a web API using GitHub Copilot.
Note: This exercise provides hands-on practice using Copilot to modify and enhance a real web API project.
The exercise consists of the following activities:
-
Start a web browser and navigate to the exercise page: Update a web API with GitHub Copilot
-
Follow the instructions provided in the exercise to complete all challenges.
-
Work through each step, using GitHub Copilot to update and enhance the web API.
-
When you finish, return to the module for a knowledge check and completion badge.
What you've learned
After completing this exercise, you should be able to:
- Understand an API
- Extend the Web AI
- Add a new route
- Create a test
- Use an agent to write the documentation
Congratulations! You've completed the web API update exercise!