From 4710b6927a44b52f5f5c520899b12c82fe87eae3 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 21 Nov 2023 13:10:44 -0700 Subject: [PATCH] Clarify download everything doc --- docs/download-everything.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/download-everything.md b/docs/download-everything.md index 62334b0..ef9ec5c 100644 --- a/docs/download-everything.md +++ b/docs/download-everything.md @@ -9,7 +9,10 @@ What You Need * The URL to your puzzle server. We will call this `$url`. * Your Team ID. We will call this `$teamid`. -* A way to POST `$teamid` to a URL, and save the result. We will call this procedure "Fetch". +* A way to POST `id=$teamid` + with `Content-Type: x-www-form-encoded` to a URL, + and save the result. + We will call this procedure "Fetch". * A way to parse JSON files Steps @@ -22,5 +25,6 @@ Steps 1. If the point value is 0, skip it. 0 indicates all puzzles in this category are unlocked. 2. Fetch `$url/content/$category/$points/index.json`. This is the Puzzle object. 3. In the Puzzle object, `Body` contains the HTML body of the puzzle. - 4. For each file listed in `Attachments` (we will call this `$attachment`): + 4. In the Puzzle object, `Attachments` contains a list of attachments. + For each attachment (we will call this `$attachment`): 1. Fetch `$url/content/$category/$points/$attachment`.