REST API example using Spray.io