From 6bac846b9963164dba3b5d743678385dd4f24fde Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 7 Jul 2020 06:09:10 -0700 Subject: [PATCH] nogit-sync commit --- TODO | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 67d898d..43948d7 100644 --- a/TODO +++ b/TODO @@ -77,10 +77,16 @@ Bring client up to latest Empires API approach [ ] Add UI to generate a new game ID, (allow flempires to work on its own) Example: - curl -X POST https://lmno.games/new/empires + curl -X POST https://lmno.games/new/empires Returns: "WLJG" [ ] Implement player registration by POSTing to /register (without cookie) + Example: + curl -X POST \ + -H 'Content-Type: application/json' \ + -d '{"name": "Carl", "character": "Elvis"}' \ + https://lmno.games/empires/QRST/register + Returns: 1 (Or some other player ID value) [ ] Implement registration with /profile and then /register (requires cookie) -- 2.43.0