[server]: Update return_newest_data and add test script

This commit is contained in:
2025-02-28 14:04:29 +00:00
parent 4aff5300e5
commit 508b86acd9
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
API_URL="https://281bc6mcm5.execute-api.us-east-1.amazonaws.com/transient_data"
if [ "$1" ]; then
query_string="?objectType=$1"
fi
curl "$API_URL$query_string"