Example of Java Rest APIs