Skip to content

🐻‍❄️❄Anon-Msgs is a fun and open-source, secret message and confession app. ⚛️🤫

Notifications You must be signed in to change notification settings

captainAyan/anon-msgs

Repository files navigation

Anon-Msgs

Documentation

Route Method Auth Description Query Body
/api/auth/login POST Public Login - *Username, Password
/api/auth/register POST Public Register - Name, *Username, Password
/api/message GET Private Get messages Page -
/api/message/[:username] POST Public/Private Send message - Body (Message body)
/api/message/[:id] DELETE Private Delete message - -
/api/profile/[:username] GET Public/Private View profile - -
/api/profile PUT Private Edit profile - Name, *Username
/api/profile DELETE Private Delete profile - -

*Username is the Handle

Error Response

Link the article Reference

{
  "error": {
    "message": "Missing redirect_uri parameter.",
    "stack": null,
    "type": "OAuthException",
    "code": 191
  }
}

Message: Actual error message.
Stack: The error stack. (Null value in production)
Type: Error name, e.g. OAuthException
Code: Error code, e.g. 191

About

🐻‍❄️❄Anon-Msgs is a fun and open-source, secret message and confession app. ⚛️🤫

Topics

Resources

Stars

Watchers

Forks

Languages