# 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"))