Make http request proper way.