Catalog108 / challenges / static/redirects/single

Single 301 Redirect Challenge

beginner Matching curriculum →

What this challenge teaches

Teaches: GET the initial URL, receive a 301 to the target. Follow it (most clients do automatically) and read the final body.

Expected output: Final response: HTTP 200 with a body containing the string "redirect destination reached".

Submit your scraper's JSON output to /challenges/static/redirects/single/grade (grader endpoint is part of a later phase; URL is reserved now).

redirect destination reached. This is the final URL after a single 301 redirect from /challenges/static/redirects/single. Your HTTP library probably followed it automatically, use allow_redirects=False (Python requests) or ['allow_redirects' => false] (Guzzle) to capture the redirect chain.

301 Moved Permanently
Location: /challenges/static/redirects/single/target

  ↓ (client follows)

200 OK
<body> ... redirect destination reached ... </body>