X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=TODO;h=43948d73300b618f6f85720e4295adfaf6684e28;hb=6bac846b9963164dba3b5d743678385dd4f24fde;hp=67d898deb7ae0f39209a0d5d32cb7f14d94e2d86;hpb=98cb0c7a47ca5ef8cd8f77010d86851866738c1b;p=lmno-todo 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)