title: How to pass the symbol & in @RequestParam?
body: <pre><code>@RequestMapping(value = {"/hello"}, method = RequestMethod.GET)
  @ResponseBody
  public ResponseEntity&lt;String&gt; getContent(@RequestParam(value = "url", required = true) String url) {
      System.out.println("My passed url is: " + url);
  }
  </code></pre>
  
  <p>When I do</p>
  
  <pre><code>curl "localhost:8080/hello?url=http://www.test.com/boom/4?utm_source=Google+Places&amp;utm_medium=LLM&amp;utm_campaign=DAC+LLM"
  </code></pre>
  
  <p>The url I'm trying to pass as a GET parameter gets truncated at the <code>&amp;</code> sign because it thinks it's the start of another GET parameter.</p>
  
  <pre><code>My passed url is http://www.test.com/boom/4?utm_source=Google+Places
  </code></pre>
  
  <p>Any way to get around this, or should I change from GET to POST?</p>