title: Api GET request returns an empty response but postman does not
body: <p>I am trying to make an api call to a remote server, Initially, I got this error: <code>No 'Access-Control-Allow-Origin' header is present on the requested resource.</code></p>
  <p>I temporarily solve this error by attaching the <code>https://cors-anywhere.herokuapp.com</code> link before the link, or sometimes using the Moesif Cors-Any-where chrome extension. The fetch now returns <code>200 ok status</code> but the response is empty.</p>
  <pre><code>body: ReadableStream
  locked: true
  __proto__: ReadableStream
  bodyUsed: true
  headers: Headers {}
  ok: true
  redirected: false
  status: 200
  statusText: &quot;OK&quot;
  type: &quot;cors&quot;
  
  response: {}
  data: undefined
  </code></pre>
  <p>However, if I run the same query on postman, it returns the expected response json object. How do I fix this?</p>
  <pre><code> const searchFlightData = (to, from, depDate, adults) =&gt; {
          fetch(`http://api.travelpayouts.com/v1/prices/direct?origin=${from}&amp;destination=${to}&amp;depart_date=2017-11&amp;return_date=2017-12&amp;token=${tp_token}`)
              .then(response =&gt; {
                  if (response.ok) {
                      console.log(response)
                      return response
                  }
                  else
                      console.log(`Looks like something went wrong. Status: ${response.status}`)
              })
              .then(response =&gt; {
                  response.json()
                  console.log(&quot;response: &quot; + JSON.stringify(response))
              })
              .then(data =&gt; {
                  console.log(&quot;data: &quot; + data)
              })
              .catch(error =&gt; {
                  console.log(error)
              })
  }
  </code></pre>