Inaccess Interview Question

Build a REST API using Java.