Last active
August 12, 2020 03:03
-
-
Save go4Mor4/21cd8b308fff268919229faaf5f3648f to your computer and use it in GitHub Desktop.
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
# This is how you use requests: | |
import requests | |
userdata = {"firstname": "Homer", "lastname": "Simpson", "password": "beer123"} | |
resp = requests.post('http://www.springfield.com/user', data=userdata) | |
resp.json() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment