pass in config to request