add . in api endpoint
Merge pull request #7 from eliotk/fix_curl_typo

add . in api endpoint curl call