add path parameter instead of request parameter. URL to use : http://localhost:8080/restspringmvc/hello/FooBar