Get your own Python server Result Size: 625 x 565
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)
One record deleted.