title: Best Practice to build URL in android
body: <p>What is the best practice to build Http Uri in Android. I want to use Uri.Builder to build the url.</p>
  
  <p>I want to create a class which will return all the Http urls including parameters. </p>
  
  <p>I checked the below link for Uri.Builder which gives idea to utilise in case of get request but how to use the power of Uri.Builder in post request too.</p>
  
  <p><a href="https://stackoverflow.com/questions/19167954/use-uri-builder-in-android-or-create-url-with-variables">Use URI builder in Android or create URL with variables</a></p>
  
  <p>Over all I am asking for best practice to build Http Urls(Get and post both ) by utilising power of Uri.Builder</p>