title: How to fix "Server-Side Request Forgery" issue in spring restTemplate
body: <p>Getting "Server-Side Request Forgery" issue in Fortify report while using spring restTemplate.</p>
  
  <p>I am making a call using restTemplate to some other REST service and passing this url from my controller class.
  The url is hardcoded in my controller and not user-controlled data.</p>
  
  <pre><code>HttpEntity&lt;R&gt; response = restTemplate.exchange(uri, HttpMethod.POST, entity,
  parameterizedTypeReference);
  </code></pre>
  
  <p>Not sure how to fix this issue.</p>