Skip to content

Instantly share code, notes, and snippets.

@filip-cermak
Created June 10, 2020 08:23
Show Gist options
  • Save filip-cermak/8fac2b7fe89f9daf84f5aa78cad52018 to your computer and use it in GitHub Desktop.
Save filip-cermak/8fac2b7fe89f9daf84f5aa78cad52018 to your computer and use it in GitHub Desktop.
targetURL = "https://app.snipcart.com/api/requestvalidation/" + token
headers = {'content-type' : 'application/json'}
r = requests.get(targetURL, auth=(apiKey, ''), headers=headers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment