This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hmac | |
import hashlib | |
from datetime import datetime | |
import httpx | |
# Define the AWS request details, url is defined as the API Gateway endpoint where host is the actual host of the API | |
method = "GET" | |
url = "<vpce-dns-name>" | |
host = "<api-id>.execute-api.eu-west-1.amazonaws.com" | |
path = "/sandbox/test" |