Created
February 6, 2016 12:42
-
-
Save jimmycuadra/58b5a01ef48876e87374 to your computer and use it in GitHub Desktop.
Ruma's first user registration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ruma start & | |
| [1] 17673 | |
| curl -i -H "Content-Type: application/json" http://localhost:3000/_matrix/client/r0/register -d '{"password":"secret"}' | |
| HTTP/1.1 200 OK | |
| Transfer-Encoding: chunked | |
| Date: Sat, 06 Feb 2016 12:41:42 GMT | |
| Content-Type: application/json; charset=utf-8 | |
| {"access_token":"fake access token","home_server":"fake home server","user_id":"tJfCJcClNRFn"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment