All checks were successful
PR tests / build-and-smoke (pull_request) Successful in 1m43s
feat: add test_api file
9 lines
245 B
Python
9 lines
245 B
Python
# 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"))
|