A simple sinatra application, once deployed to Cloud Foundry, will echo the Environment and HTTP Request Headers. Useful to learn about service connection details (VCAP_SERVICES), just bind'em to this application.
For an example deployment of this application see: http://sv-env.cloudfoundry.com