Changed the url to use the baseUrl