From 34e1e7e09a83e0507ec6b79fd2ccf4af4fd560fa Mon Sep 17 00:00:00 2001 From: Marty Hummel <71525323+marty-optum@users.noreply.github.com> Date: Thu, 10 Feb 2022 16:20:21 -0500 Subject: [PATCH] Update README.md Add line to capture response_body --- 3-transport/lessons/4-geofences/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/3-transport/lessons/4-geofences/README.md b/3-transport/lessons/4-geofences/README.md index 2fdf1d2f..0891b67b 100644 --- a/3-transport/lessons/4-geofences/README.md +++ b/3-transport/lessons/4-geofences/README.md @@ -416,10 +416,11 @@ Earlier in this lesson you used curl to query a geofence to see if a point was l The items in the `params` dictionary will match the key value pairs you used when calling the web API via curl. -1. Add the following line of code to call the web API: +1. Add the following lines of code to call the web API: ```python response = requests.get(url, params=params) + response_body = json.loads(response.text) ``` This calls the URL with the parameters, and gets back a response object.