From 798e409dd58fba56e71989763f4f2b37281a8b59 Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 9 May 2026 06:25:09 -0400 Subject: [PATCH] fix(curriculum) : stringify uncloneable search params in Basic Node Post Challenge (#66132) Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com> --- .../blocks/basic-node-and-express/587d7fb2367417b2b2512bf8.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/basic-node-and-express/587d7fb2367417b2b2512bf8.md b/curriculum/challenges/english/blocks/basic-node-and-express/587d7fb2367417b2b2512bf8.md index 9bfe32d41fe..5dc4051cfb3 100644 --- a/curriculum/challenges/english/blocks/basic-node-and-express/587d7fb2367417b2b2512bf8.md +++ b/curriculum/challenges/english/blocks/basic-node-and-express/587d7fb2367417b2b2512bf8.md @@ -36,7 +36,7 @@ Test 1 : Your API endpoint should respond with the correct name headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, - body: new URLSearchParams({ first: 'Mick', last: 'Jagger' }) + body: new URLSearchParams({ first: 'Mick', last: 'Jagger' }).toString() }); if (!response.ok) { throw new Error(await response.text()); @@ -60,7 +60,7 @@ Test 2 : Your API endpoint should respond with the correct name body: new URLSearchParams({ first: 'Keith', last: 'Richards' - }) + }).toString() }); if (!response.ok) { throw new Error(await response.text());