获取您的
Python
服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
import requests url = 'https://w3schools.com/python/demopage2.php' #use the 'cookies' parameter to send cookies to the server: x = requests.delete(url, cookies = {"favcolor": "Red"}) print(x.status_code)
200