title: Which URL we should use for KinesisVideoStream KVS GetMedia and GetDataEndpoint API?
body: <p>I went through AWS docs and found that for to fetch straming media from Kinesis we must use KVS GetMedia API and before that we need to get endpoint URL using GetDataEndpoint API</p>
  
  <p>Can any one tell which URL I should use to send request ?</p>
  
  <pre><code>POST /getDataEndpoint HTTP/1.1
  Content-type: application/json
  
  {
     "APIName": "string",
     "StreamARN": "string",
     "StreamName": "string"
  }
  
  
  POST /getMedia HTTP/1.1
  Content-type: application/json
  
  {
     "StartSelector": { 
        "AfterFragmentNumber": "string",
        "ContinuationToken": "string",
        "StartSelectorType": "string",
        "StartTimestamp": number
     },
     "StreamARN": "string",
     "StreamName": "string"
  }
  </code></pre>