获取您的
Python
服务器
×
更改方向
更改主题,暗色/亮色
前往 Spaces
import requests url = 'https://w3schools.org.cn/python/demopage.php' x = requests.post(url) #print the response text (the content of the requested file): print(x.text)
<!DOCTYPE html>
<html>
<body>
<h1>这是一个测试页面</h1>
</body>
</html>