Rest API with Foo Controller