add . in api endpoint curl call

Just a little typo fix.