Add headers to the request and put the hosts in configuration