Skip to content

pengisgood/springboot-customize-status-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-customize-status-code

java: 8

gradle: 4.1

Question refer to here

How to run the demo

./gradlew bootRun

Scenario

In the DemoController,

  1. if I return non-standard status equal or greater than 200, everything works;

  2. if I return status below less than 200, no one works.

How to reproduce

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages