Added method to execute an http request in http or https
Http and Https