Skip to content

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

4 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful API's With SpringMVC (Starter Project)

While SpringMVC makes it quite easy to create RESTful services, this starter project adds a few things more. It provides a consistent way to send error messages in json back to the caller and also integrates Spring Security into the mix. Though using a mock set of users.

To run the application...

mvn clean package mvn jetty:run

To access the RESTful Services...

To Get XML Responses...

Either replace HTTP Header with application/json with application/xml OR append .xml (or .json) extension to the URI. Example... curl -XGET -H "Accept: application/xml" --user admin:password http://localhost:8080/service/note/notes curl -XGET --user admin:password http://localhost:8080/service/note/notes.xml

About

No description, website, or topics provided.

Resources

Stars

7 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages