title: React native JSON Parse error:Unrecognized token '<'
body: <p>i want to ask json parse api link must be hosting under by https?
  i got this error because my hosting was not secure?
  anyone know this problem?
  this is my code:</p>
  
  <pre><code>fetch('http://xxx.xxx.x.xx/reactnative/register.php', {
              method: 'post',
              header:{
                  'Accept': 'application/json',
                  'Content-type': 'application/json'
              },
              body:JSON.stringify({
                  name: userName,
                  email: userEmail,
                  password: userPassword,
              })
  </code></pre>
  
  <p>but my link cant run https:// on the browser
  Is this cause me cant parse the data to the link?</p>