title: How to get the request URI in Grails?
body: <p>I've got a simple Grails app with the following RESTful uri...</p>
  
  <pre><code>http://localhost:8080/kennis-api/funds/test/700
  </code></pre>
  
  <p>The mapping in my URIMappings is </p>
  
  <pre><code> "/funds/test/$fcode" (controller: "fundCache"){
      action = [GET: "show"]
   }
  </code></pre>
  
  <p>In my controller, I need to extract the request URI, in this case "/funds/test/700", but invoking request.uri or request.getRequestUri does not work. I tried using request.requestURL, but that gives me </p>
  
  <p><a href="http://localhost:8080/kennis-api/grails/fundCache/show.dispatch" rel="noreferrer">http://localhost:8080/kennis-api/grails/fundCache/show.dispatch</a></p>
  
  <p>Is there a special member or function from which to get the request uri?</p>