Creating a RESTFul service in pyramid.