title: axios get request in react-native not working
body: <p>I have integrated axios within my react native application using redux. After setting up axios config I was unable to hit my backend api. Finally I'm hitting a dummy api in component did mount which is also not working.</p>
  
  <p>After wasting 2 days using react native redux and axios, I tried dummy api which is giving response using postman but using axios my api doesn't get called. </p>
  
  <pre><code>import React, { Component } from 'react';
  import { View, Text } from 'react-native';
  import axios from 'axios';
  
  class IdeaList extends Component {
      componentDidMount = () =&gt; {
          debugger;
          let response = axios.get('https://192.168.0.1:63418/Values/Get').then(res =&gt; console.log('here comes data',res.data)).catch(err =&gt; console.log('err is', err));
          return response
      }
      render() {
          return (
              &lt;View&gt;
                  &lt;Text&gt;IdeaList&lt;/Text&gt;
              &lt;/View&gt;
          )
      }
  }
  
  export default IdeaList;
  </code></pre>
  
  <p>I just want to hit my backend api and get response</p>