- Build (includes integration testing)
mvn clean verify
- Run it on Tomcat
mvn tomcat7:run
- Use
Advanced REST Client
(or any other REST tool, likePostman
) to play around- Try getting all the cars and then just a single one
- Try getting the car(s) as both
application/json
andapplication/xml
- Try adding a car by PUTting either json or xml representation
By default, the app is starting with digest authentication method. If you wish to change it, take a look at the tomcat configuration in pom.xml file.