Skip to content

Instantly share code, notes, and snippets.

@topherPedersen
Created October 12, 2019 08:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save topherPedersen/2a0bb563b52f93e71f35081ebd5b60fe to your computer and use it in GitHub Desktop.
Save topherPedersen/2a0bb563b52f93e71f35081ebd5b60fe to your computer and use it in GitHub Desktop.
Job Application to Plaid Inc.
# REFERENCE: GET and POST requests using Python
# https://www.geeksforgeeks.org/get-post-requests-using-python/
# REFERENCE: Post JSON using Python Requests
# https://bit.ly/2w6YHGa
import requests
import json
url = "https://contact.plaid.com/jobs"
data = {
'name': 'Christopher Pedersen',
'email': 'chris@topherpedersen.com',
'resume': 'https://bit.ly/ChristopherPedersensResume',
'github': 'https://www.linkedin.com/in/christopher-pedersen-a54a87b6/',
'twitter': '@topherPedersen',
'website': 'https://topherpedersen.blog',
'location': "Dallas, TX",
'favorite candy': 'Butterfinger',
'superpower': 'Wingsuit Pilot'
}
data = json.dumps(data)
headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
http_post_request = requests.post(url=url, data=data, headers=headers)
server_response = http_post_request.text
print(server_response)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment