attempts to add /api/v1/ to end of url
through the config, agent recieves a url to communicate with the server