/StudentAPI

πŸ“š Student API.

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

StudentAPI

πŸ“š Student API.

πŸ“₯ Installation

git clone https://github.com/willianlim/StudentAPI.git

✍ Usage

GET:
http://localhost:8080/api/v1/student/
[
    {
        "id": 1,
        "name": "Alex",
        "email": "alex@gmail.com",
        "dob": "2004-01-05",
        "age": 18
    }
]

POST:
http://localhost:8080/api/v1/student/
{
    "name": "Maria",
    "email": "mariam.jamal@gmail.com",
    "dob": "2000-01-05",
    "age": 22
}

PUT:
http://localhost:8080/api/v1/student/?name=mariaaaaa
{
    "name": "mariaaaaa",
    "email": "mariam.jamal@gmail.com",
    "dob": "2000-01-05",
    "age": 22
}

DELETE:
http://localhost:8080/api/v1/student/1

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

πŸ“ License