variable for http method (http vs https), easier to switch for testing