title: How we need to retrieve the custom headers in the Spring boot controller?
body: <p>I'm not looking for the below headers:</p>
  
  <pre><code>Host                    localhost:8080
  Accept                  text/html,application/xhtml+xml,application/xml;q=0.9
  Accept-Language         fr,en-gb;q=0.7,en;q=0.3
  Accept-Encoding         gzip,deflate
  Accept-Charset          ISO-8859-1,utf-8;q=0.7,*;q=0.7
  Keep-Alive              300
  </code></pre>
  
  <p>Instead am looking for the <strong>custom headers</strong> which I passed in my below cURL command:</p>
  
  <pre><code>curl -v -b ./cookie.txt -H “User:username” -d “user=testacct1@youview.com” -X GET http://localhost:9898/signature
  </code></pre>
  
  <p>-- wanted to retrieve the "<strong>-H "User:username</strong>" in my spring boot controller, please let me know how to retrieve this custom header in Spring boot Controller.</p>