Fix wrong API URL call pattern