Created
March 6, 2019 00:41
-
-
Save jaxatax/2d0610d7ecb1f2f234a7641e708e1efb to your computer and use it in GitHub Desktop.
Basic Networking Python 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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