Howard Hanna/AT updates. Updated API key for GSU send grid request.

This commit is contained in:
Norm Rasmussen
2024-10-22 19:05:40 -04:00
parent 86f60c8a95
commit 3dbf87f388
5 changed files with 12 additions and 9 deletions

View File

@ -29,3 +29,4 @@ LUMINATE_US = "p5fidpuedHaOlPnd8EcpxzQMG"
SKAN = "89qJQDaFl3DvIpSSOUC5PM9V6"
KARBON = "peQbnkfUnYLGPfIzyCxfLs634"
BLOOMERANG = "ewGDqLgsklMnytqzUka2wmgIi"
GSU = "rUUKNuBZ0rmRNPftB4smYhQ5L"

View File

@ -2,11 +2,11 @@ import requests
import sys
sys.path.insert(0, "./API_Tests/")
import Apikeys
apikey = Apikeys.SANDATA
apikey = Apikeys.GSU
url = "https://api.northpass.com/v2/email_domains"
header = { "x-api-key": apikey, "Content-Type": "application/json" }
payload = {"domain": "sandata.com", "custom_dkim_selector": "g"}
header = { "X-Api-Key": apikey, "Content-Type": "application/json" }
payload = {"domain": "gainsight2.com", "custom_dkim_selector": "ce"}
response = requests.post(url, headers=header, json=payload)