title: How to change profile link in spring boot application
body: <p>By default, a request to a root URL in a Spring Boot application will return a mapping like </p>
  
  <pre><code>curl -v http://localhost:8080/
  
  &lt; HTTP/1.1 200 OK
  &lt; Content-Type: application/hal+json
  
  { "_links" : {
      "orders" : {
        "href" : "http://localhost:8080/orders"
      },
      "profile" : {
        "href" : "http://localhost:8080/api/alps"
      }
    }
  }
  </code></pre>
  
  <p>However, I'm using the root URL to return the home page, or index of the application.  I'd still like to use the profile link but all I get is the homepage.  Is there any way I can still access it?</p>
  
  <p>I tried requesting with a specific content type but it did not change anything.</p>
  
  <pre><code>curl -H "Accept: application/hal+json" localhost:8080 -v
  </code></pre>
  
  <p>and</p>
  
  <pre><code>curl -H "Content-Type: application/hal+json" localhost:8080 -v
  </code></pre>