Closed wdtj closed 4 years ago
In addition, I found that HelloControllerTest.java needed the additional path "/greeting" and the returned response contained the message "{\"id\":1,\"content\":\"Hello, World!\"}"
I think the content was changed. It all works for me now (and the correct URL path is "/").
I was not able to run the command:
curl localhost:8080
This returned a 404 error. I believe the correct command is:curl localhost:8080/greetings