This is a simple REST interface for a lottery system built with Spring Framework in Java.
May take a few seconds for heroko instance to boot up
https://lottery2019.herokuapp.com/
Create lottery ticket(POST request):
https://lottery2019.herokuapp.com/ticket?lines=3
Get all lottery tickets(GET request):
https://lottery2019.herokuapp.com/ticket
Get single Lottery ticket(GET request):
https://lottery2019.herokuapp.com/ticket/1
Update ticket with more lines(PUT request):
https://lottery2019.herokuapp.com/ticket/1?lines=1
Check status of a ticket(GET request):