spring-guides / gs-spring-boot

Building an Application with Spring Boot :: Learn how to build an application with minimal configuration.
https://spring.io/guides/gs/spring-boot/
Apache License 2.0
890 stars 4.51k forks source link

Slight typo in "Check out the service." #49

Closed wdtj closed 4 years ago

wdtj commented 6 years ago

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

wdtj commented 6 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!\"}"

dsyer commented 4 years ago

I think the content was changed. It all works for me now (and the correct URL path is "/").