Removed primary/secondary from API url