Fixed broken URL to API URL, thanks to Tim