From 5c8fb2c1df05a2d7b0b26f3e688623ad57ca2516 Mon Sep 17 00:00:00 2001 From: Frank Blecha <55011+fblecha@users.noreply.github.com> Date: Wed, 17 Feb 2021 16:02:17 -0700 Subject: [PATCH] Stringify pathParamers for testing Raw json didn't seem to work vs stringifyed version (needs to include the correct noteId) --- _chapters/add-a-get-note-api.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_chapters/add-a-get-note-api.md b/_chapters/add-a-get-note-api.md index 52f23a12c..4c224431d 100644 --- a/_chapters/add-a-get-note-api.md +++ b/_chapters/add-a-get-note-api.md @@ -68,9 +68,7 @@ To test our get note API we need to mock passing in the `noteId` parameter. We a ``` json { - "pathParameters": { - "id": "a63c5450-1274-11eb-81db-b9d1e2c85f15" - } + "body": "{\"pathParameters\":{\"id\":\"YOUR-NOTE-ID-HERE\"}}" } ```