Addressed an issue where a lack of arguments may result in not adding the API key/token to the URL.