fix rest api
Merge pull request #86 from cloudfoundry-community/demo_needed

fix rest api