Skip to content

Instantly share code, notes, and snippets.

@jaxatax
Created March 6, 2019 00:41
Show Gist options
  • Save jaxatax/2d0610d7ecb1f2f234a7641e708e1efb to your computer and use it in GitHub Desktop.
Save jaxatax/2d0610d7ecb1f2f234a7641e708e1efb to your computer and use it in GitHub Desktop.
Basic Networking Python 3
#https://www.geeksforgeeks.com/get-post-requests-using-python/
import requests
URL = "https://topherpedersen.github.io/helloworld.html"
PARAMS = {'key':'value'}
server_response = requests.get(url = URL, params = PARAMS)
print(server_response.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment