Fixed mistyped url regex, hitting api endpoint