From: Carl Worth Date: Tue, 7 Jul 2020 13:09:10 +0000 (-0700) Subject: nogit-sync commit X-Git-Url: https://git.cworth.org/git?p=lmno-todo;a=commitdiff_plain;h=6bac846b9963164dba3b5d743678385dd4f24fde nogit-sync commit --- 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)