Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.28 KB

README.md

File metadata and controls

60 lines (47 loc) · 1.28 KB

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