java: 8
gradle: 4.1
Question refer to here
./gradlew bootRun
In the DemoController
,
-
if I return non-standard status equal or greater than 200, everything works;
-
if I return status below less than 200, no one works.
After you start the demo with ./gradlew bootRun
,
visit http://localhost:8080/hello in the browser
or test it in the commandline with curl -v http://localhost:8080/hello