title: How to change axios url?
body: <pre><code>  constructor(props) {
      super(props);
      this.state = {
        isLoading: true,
        search:'',
      };
    }
  
    componentDidMount(){
      var url = 'url='+this.state.search;
      axios.get(url)
        .then(response =&gt;this.onResponse(response.data));
    }
  
    onResponse(gelen){
      this.setState({
        isLoading:false,
        veri:gelen,
      });
      console.log(this.state.veri);
    }
  
    render() {
      if (this.state.isLoading) {
        return (
          &lt;View style={{flex: 1, paddingTop: 20}}&gt;
            &lt;ActivityIndicator /&gt;
          &lt;/View&gt;
        );
      }
      return(
        &lt;View style={styles.container}&gt;
          &lt;TextInput
            style={{height: 40, borderColor: 'gray', borderWidth: 1}}
            onChangeText = {(search) =&gt; this.setState({search})}
            placeholder="Welcome"&gt;
          &lt;/TextInput&gt; 
        &lt;/View&gt;
      );
    }
  </code></pre>
  
  <p>React Native Search is change but url do not change how do change or update url ? 
  I wanted to make a search page, and I tried something like this, but I could not add the data entry I made after the data came in at the end of the url.</p>