add the now required user-agent header to the api request