Result Size: 625 x 571
demo_requests_delete.py:
x
 
import requests
#the required first parameter of the 'delete' method is the 'url':
x = requests.delete('https://w3schools.com/python/demopage.php')
#print the response text (the content of the requested file):
print(x.text)
C:\Users\My Name>python demo_requests_delete.py
One record deleted.