title: Get host name in webapi method
body: <p>I want to get website url into my webapi method.
  e.g
  my website name is abc.com and my api method url is xyz.com/getdetails?a=1
  now on my webapi controller i want to get abc.com url to identify from this method was called.</p>