sample java api for rest call
##How to build the project
download tomcat
-go to bin folder of tomcat --- create setenv.sh
write below line
export JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5015"
-clone project in webapp folder of
go to remote debug of intellij and add port 5015