Added some styling, separated request config from the method.