diff --git a/decompme.py b/decompme.py index 845fea3..68c01f8 100644 --- a/decompme.py +++ b/decompme.py @@ -59,4 +59,5 @@ } r = requests.post(args.host + "/api/scratch", json=req) assert r.status_code == 201, f"Bad status code {r.status_code} {r.text}" -print(f"{args.host}/scratch/{r.json()['slug']}") +dat = r.json() +print(f"{args.host}/scratch/{dat['slug']}/claim?token={dat['claim_token']}")