Added correct uri for api.