ci/test: update api test url

This commit is contained in:
wukko 2024-10-31 00:10:22 +06:00
parent 776c4f4dba
commit 6322c172c1
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

2
.github/test.sh vendored
View file

@ -18,7 +18,7 @@ test_api() {
-X POST \ -X POST \
-H "Accept: application/json" \ -H "Accept: application/json" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"url":"https://www.tiktok.com/@fatfatmillycat/video/7195741644585454894"}') -d '{"url":"https://garfield-69.tumblr.com/post/696499862852780032","alwaysProxy":true}')
echo "API_RESPONSE=$API_RESPONSE" echo "API_RESPONSE=$API_RESPONSE"
STATUS=$(echo "$API_RESPONSE" | jq -r .status) STATUS=$(echo "$API_RESPONSE" | jq -r .status)