Fixing API URLs, and a case insensitivity issue.