]> git.cworth.org Git - lmno-todo/commitdiff
nogit-sync commit
authorCarl Worth <cworth@cworth.org>
Tue, 7 Jul 2020 13:09:10 +0000 (06:09 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 7 Jul 2020 13:09:10 +0000 (06:09 -0700)
TODO

diff --git a/TODO b/TODO
index 67d898deb7ae0f39209a0d5d32cb7f14d94e2d86..43948d73300b618f6f85720e4295adfaf6684e28 100644 (file)
--- 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)