Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 373 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 373 Bytes

Simple REST API

A simple REST API that allows to create and get a customer by id.

Example of GET Request:

localhost:8080/api/customer/{id}

Example of POST Request:

{
    "name": "Hendrix",
    "address": {
        "city": "Cracow",
        "country": "Poland",
        "street": "Jimi H.",
        "zipCode": "11-1942"
    }
}