Simple example that explains how to use sinatra to create a simple api service