diff --git a/testing/api-test.sh b/testing/api-test.sh index d59ab2a..67b947f 100755 --- a/testing/api-test.sh +++ b/testing/api-test.sh @@ -3,6 +3,9 @@ CURLOPTS=(-i -s -S -o /dev/null -f -w "%{http_code}\tTime:\t%{time_starttransfer}\t%{url_effective}\n") HOST=127.0.0.1:8080 +# Version Test +curl ${CURLOPTS[@]} $HOST/version || exit 1 + # Trending Page curl ${CURLOPTS[@]} $HOST/trending?region=US || exit 1