Clone repository:
$git clone [email protected]:gemacjr/noted.git
$cd noted
$mvn spring-boot:run
POST:
$curl -i -H "Content-Type: application/json" -X POST -d '{"body" : "Pick up milk!"}' http://localhost:8000/api/notes
GET Existing Note
$curl -i -H "Content-Type: application/json" -X GET http://localhost:8000/api/notes/0
GET All Notes
$curl -i -H "Content-Type: application/json" -X GET http://localhost:8000/api/notes# LevelsBeyondNoted
Query
curl -i -H "Content-Type: application/json" -X GET http://localhost/api/notes?query=