REST API written in Sinatra