This repository contains a Spring Boot API for managing customer information. The API offers endpoints for adding, deleting, retrieving, and updating customer details.
Method: POST
Endpoint: http://localhost:8080/api/v1/customers/
Request Body (JSON):
{
"name": "John",
"email": "[email protected]",
"age": 32
}
Method: DELETE
Endpoint: http://localhost:8080/api/v1/customers/{customerid}
Method: GET
Endpoint: http://localhost:8080/api/v1/customers/
[
{
"id": 1,
"name": "Gurkan Yakar",
"email": "[email protected]",
"age": 25
},
{
"id": 3,
"name": "John",
"email": "[email protected]",
"age": 32
}
]
Method: PUT
http://localhost:8080/api/v1/customers/{customerid}
{
"name": "Gurkan Yakar",
"email": "[email protected]",
"age": 25
}