Skip to content

Commit

Permalink
decomp.me claim token support
Browse files Browse the repository at this point in the history
  • Loading branch information
SeekyCt committed Jan 22, 2024
1 parent c62d001 commit 1fd9795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion decompme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']}")

0 comments on commit 1fd9795

Please sign in to comment.