Skip to content

Instantly share code, notes, and snippets.

Created October 12, 2019 08:39
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Job Application to Plaid Inc.
# REFERENCE: GET and POST requests using Python
# REFERENCE: Post JSON using Python Requests
import requests
import json
url = ""
data = {
'name': 'Christopher Pedersen',
'email': '',
'resume': '',
'github': '',
'twitter': '@topherPedersen',
'website': '',
'location': "Dallas, TX",
'favorite candy': 'Butterfinger',
'superpower': 'Wingsuit Pilot'
data = json.dumps(data)
headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
http_post_request =, data=data, headers=headers)
server_response = http_post_request.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment