Add version test to script.

This commit is contained in:
FireMasterK 2022-02-22 09:11:15 +00:00
parent 9b6d8c4ae5
commit 4ccb7edf9d
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -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