An example API using Flask