title: Received data was not a string, or was not a recognised encoding. React Native
body: <p>I have a problem regarding using GET method from to confirm whether a certain url exists or not. Here is the code.</p>
  
  <pre><code>export const checkUrlExist = (url, cb) =&gt; {
    fetch(url)
      .then((res) =&gt; {
        res.status === 200 ? cb(true) : cb(false)
      })
  }
  </code></pre>
  
  <p>Although I managed to get the expected result, but every time it finishes the request.</p>
  
  <p>It will always output <strong>Received data was not a string, or was not a recognised encoding</strong></p>
  
  <p>Not really sure if it is related to the purpose of this GET method since I am fetching Facebook profile image, but the url of profile image will expire after a while and since I am not storing the image in our database so I need to check whether the user has changed their profile image or not.</p>
  
  <p>Cheers
  Well</p>