Jake Kalstad 9 éve
szülő
commit
f9a3cf0d92
1 módosított fájl, 9 hozzáadás és 0 törlés
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -58,3 +58,12 @@ curl 127.0.0.1:3000/appointment/key-goes-here
 
 curl 127.0.0.1:3000/appointments
 ``` 
+## session 
+  Session storage to keep track of users and what not.
+```
+curl -XPOST 127.0.0.1:3000/session -H "application/json" -d '{"id":"", "user_id":"1", "data":"{root:1}","created":""}'
+
+curl 127.0.0.1:3000/session/key-goes-here
+
+curl 127.0.0.1:3000/session
+```