# Real curl -i output against the packaged jar (java -jar target/crud-mysql-1.0.0.jar), Date header removed

$ curl -i -X POST localhost:8080/api/books -H 'Content-Type: application/json' -d '{"title":"Effective Java","author":"Joshua Bloch","isbn":"9780134685991","price":45.50}'
HTTP/1.1 201 
Location: http://localhost:8080/api/books/1
Content-Type: application/json
Transfer-Encoding: chunked

{"id":1,"title":"Effective Java","author":"Joshua Bloch","isbn":"9780134685991","price":45.50}


$ curl -i localhost:8080/api/books/1
HTTP/1.1 200 
Content-Type: application/json
Content-Length: 94

{"id":1,"title":"Effective Java","author":"Joshua Bloch","isbn":"9780134685991","price":45.50}


$ curl -i -X DELETE localhost:8080/api/books/1
HTTP/1.1 204 



$ curl -i localhost:8080/api/books/1
HTTP/1.1 404 
Content-Type: application/problem+json
Transfer-Encoding: chunked

{"detail":"Book 1 not found","instance":"/api/books/1","status":404,"title":"Not Found"}


