Skip to content

DarkVito/go-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API example (in the process of documenting)

register

URL : /api/register/

Method : POST

{
    "name":"a",
    "email": "[email protected]",
    "password": "1"
}

Success Response

{
    "id": 9,
    "name": "a",
    "email": "[email protected]"
}

Error Response

{
    "Number": 1062,
    "Message": "Duplicate entry '[email protected]' for key 'email'"
}
login

URL : /api/login

Method : POST

{
    "email":"[email protected]",
    "password": "1"
}

Success Response

{
    "message": "success"
}

Error Response

{
    "message": "user not found"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages