# Gocial Server Documentation ## Commands ### Authentucation #### Logging In :::warning :warning: This command doesn't actually log in, it just checks to see if the username and password is correct. ::: ```json {"cmd": "login", "username": "[username]", "password": "[password]"} ``` :::success **On success:** ```json {"cmd": "ok"} ``` ::: :::danger **On error:** ```json {"cmd": "error", "val": "Invalid Username or Password"} ``` ::: #### Signing Up ```json {"cmd": "signup", "username": "[username]", "password": "[password]"} ``` :::success **On success:** ```json {"cmd": "ok"} ``` ::: :::danger **On error:** ```json {"cmd": "error", "val": "Invalid Username or Password"} ``` ::: ### Home #### Fetching Home ```json {"cmd": "home"} ``` :::success **On success:** ```json {"cmd": "home", "val": [], "len": 0} ``` ::: #### Posting ```json {"cmd": "post", "username": "[username]", "password": "[password]", "val": "[content]"} ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up