Use this command for making request after starting the server

curl -X POST -H "Content-Type: application/json" -d '{"name": "5"}' http://localhost:8080