Get your own Python server Result Size: 625 x 565
x
 
import requests
url = 'https://w3schools.com/python/demopage.php'
#demonstrate how to use the 'params' parameter:
x = requests.get(url, params = {"model": "Mustang"})
#print the response (the content of the requested file):
print(x.text)
#the file 'demopage.php' looks for a 'model' query string and prints its value.
<!DOCTYPE html>
<html>
<body>

<p>You sent me a Mustang</p>

</body>
</html>