# Configure payload data sending to API endpoint
data = {"input": ["hi"]}

body = str.encode(json.dumps(data))