fix: add uvicorn dependency
All checks were successful
PR tests / build-and-smoke (pull_request) Successful in 1m43s
All checks were successful
PR tests / build-and-smoke (pull_request) Successful in 1m43s
feat: add test_api file
This commit is contained in:
8
test_api.py
Normal file
8
test_api.py
Normal 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"))
|
||||
Reference in New Issue
Block a user