title: how to access variables inside a url in react
body: <p>How to access variables inside a url in react?</p>
  
  <pre><code>let pincode='560001';
  axios.get('https://api2-4oagodxfq-uc.a.run.app/locality?pinCode={this.pincode}')
  </code></pre>