Fixed incorrect API endpoint URL