title: Not receiving Post request response message in mobile in react native?
body: <p><a href="https://i.stack.imgur.com/x2Kuv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x2Kuv.png" alt="enter image description here"></a></p>
  
  <p>Hi guys,
          I made a Http post request in react native  i received success message on debugger by inspect but showing error on my Alert.  My problem i received status true in debugger but receiving error alert in front.Please help me where i made a mistake.I don't know why it comes under error alert.I think its correct.</p>
  
  <pre><code>  CallSignIn()
    {
    try 
       {
      let response = fetch('post url will be here', 
        {
          method: 'POST',
          headers: 
          {
          'x-api-key':   '1k1gdyaa7bdy', // this is example key but original token key have to pass
          'Content-Type': 'application/json',
          },
          body: JSON.stringify({
                email: this.state.email,
                password: this.state.password,
         })
         });
          if (response.status &gt; 200 &amp;&amp; response.status &lt; 300) 
          {
            this.setState({showProgress: false})
            let res=response.status;
            Alert.alert(res);
          }
          else
          {
          let error;
          Alert.alert("Error :",error);
          this.setState({showProgress: false})
          }
          } catch(e) 
          {
          Alert.alert("Error:",error);
          this.setState({showProgress: false})
    }
  }
  onSignInPress() 
  {
      const { email, password } = this.state;
      if (this.isValid()) 
      {
       this.setState({showProgress: true})
       NetInfo.isConnected.fetch().done((isConnected) =&gt; 
          {
          if ( isConnected )
          {
            this.CallSignIn();
          }
          else
          {
            Alert.alert("Internet is Offline")
          }
          });
         }
      }
  </code></pre>