an HTTP API using Slim Microframework