hands-on lab
Working With Complex Rest APIs
Difficulty: Beginner
Duration: Up to 1 hour
Students: 565
Rating: 4.1/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Description
The foundation of many applications involves Representational state transfer (REST) API which is a way of structuring an API so that, through the use of HTTP verbs, one can get data. This lab will dive into understanding GET, POST, DELETE, and PATCH services. Students will learn how to use Python to interact with an API to view, create, update, and delete data.
Learning Objectives
Upon completion of this lab you will be able to:
- Understand Complex REST Verbs
- Integrate using Python with RESTful services
Intended Audience
This lab is intended for:
- Individuals starting out with interacting with REST APIs
- Anyone interested in using Python to interact with RESTful services
Prerequisites
You should possess:
- A basic understanding of Python
- A basic understanding of HTTP verbs (i.e. GET/POST/PUT)
Updates
August 7th, 2024 - Added password protection to notebook
February 24th, 2021 - Resolved an issue causing the API server to fail to start
January 19th, 2021 - Streamlined the lab by refactoring to a single lab step with the notebook IP displayed to avoid signing into GCP
Covered topics
Lab steps
Starting the Lab's Google Cloud Hosted Jupyter Notebook