title: Get base URL from Axios - react native
body: <p>Is is possible to get the base URL from the axios and store it to a variable? </p>
  
  <pre><code>const instance = axios.create({
    baseURL: "http://192.168.0.103/api",
  });
  </code></pre>
  
  <p>What i want to do is..</p>
  
  <pre><code>const photo= "HTTP://192.168.0.103/" + image-Path;
  </code></pre>
  
  <p>this is working , but i don't want to use the address here (since i already declared it in axios file, i don't want to repeat it several pages), instead i want to get it from axios and use it here.</p>
  
  <p>Is it even possible?</p>