fix: add uvicorn dependency
All checks were successful
PR tests / build-and-smoke (pull_request) Successful in 1m43s

feat: add test_api file
This commit is contained in:
2025-11-25 09:59:24 +01:00
parent c44dc5a61c
commit 811313d1ef
3 changed files with 31 additions and 17 deletions

8
test_api.py Normal file
View File

@@ -0,0 +1,8 @@
# test api endpoint with a signature, print the response
import urllib.request
response = urllib.request.urlopen(
"http://localhost:8001/api/validate-signature?signature=ST%20250%20U42%20%2815%29",
)
print(response.read().decode("utf-8"))