Sample Code:
url = “http://localhost:5005/webhooks/rest/webhook”
payload = json.dumps({ “sender”: “user”, “message”: “hi” }) headers = { ‘tenantId’: ‘123’, ‘Content-Type’: ‘application/json’ }
How do I access tenantId within my custom action ?
Sample Code:
url = “http://localhost:5005/webhooks/rest/webhook”
payload = json.dumps({ “sender”: “user”, “message”: “hi” }) headers = { ‘tenantId’: ‘123’, ‘Content-Type’: ‘application/json’ }
How do I access tenantId within my custom action ?