Skip to content

Instantly share code, notes, and snippets.

@JayDoubleu
Created August 12, 2020 08:56
Show Gist options
  • Save JayDoubleu/cb4fbcac7865ee2d9b071161cfbed254 to your computer and use it in GitHub Desktop.
Save JayDoubleu/cb4fbcac7865ee2d9b071161cfbed254 to your computer and use it in GitHub Desktop.
def set_headers(credentials):
headers = credentials.signed_session().headers
headers['Content-type'] = 'application/json'
return(headers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment