title: Get content with url confluence REST API
body: <p>Hi I have noticed several ways to get the content with the REST API. Although I was wondering if there is a way to get the content directly from the url without calling the space and title.</p>
  
  <p>Meaning if I have <code>http://localhost:8080/display/TST/myPage</code>
  Instead of doing this</p>
  
  <p><code>curl -u admin:admin -X GET "http://localhost:8080/confluence/rest/api/content?title=myPage&amp;spaceKey=TST" | python -mjson.tool</code></p>
  
  <p>I can use the url on the rest api.
  Maybe something like this</p>
  
  <p><code>curl -u admin:admin -X GET "http://localhost:8080/confluence/rest/api/content/display/TST/myPage" | python -mjson.tool</code></p>
  
  <p>Is there a way to do this?</p>
  
  <p>This is the documentation I have looked at</p>
  
  <p><a href="https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e865">https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e865</a></p>